*fix* memleak

git-svn-id: http://tint2.googlecode.com/svn/trunk@265 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85 2009-11-11 20:16:20 +00:00
parent e966c20f75
commit 429660abb6

View file

@ -238,7 +238,12 @@ void cleanup_panel()
task_active = 0;
task_drag = 0;
urgent_list = 0;
while (urgent_list) {
Task_urgent* t = urgent_list->data;
urgent_list = g_slist_remove(urgent_list, urgent_list->data);
free(t);
}
cleanup_taskbar();
int i;