*fix* memleak
git-svn-id: http://tint2.googlecode.com/svn/trunk@265 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
e966c20f75
commit
429660abb6
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue