diff --git a/src/launcher/launcher.c b/src/launcher/launcher.c index a59ac66..9ab2535 100644 --- a/src/launcher/launcher.c +++ b/src/launcher/launcher.c @@ -457,10 +457,10 @@ void launcher_load_icons(Launcher *launcher) launcherIcon->icon_name = entry.icon ? strdup(entry.icon) : strdup(DEFAULT_ICON); launcherIcon->icon_size = 1; launcherIcon->icon_tooltip = entry.name ? strdup(entry.name) : strdup(entry.exec); - free_desktop_entry(&entry); launcher->list_icons = g_slist_append(launcher->list_icons, launcherIcon); add_area(&launcherIcon->area, (Area *)launcher); } + free_desktop_entry(&entry); app = g_slist_next(app); } }