Fix small memory leak in launcher
This commit is contained in:
parent
402713d4b1
commit
b196bb1c00
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue