all repos — tint2 @ 429660abb620960ecd5267e20a7e47ed934c1709

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*fix* memleak


git-svn-id: http://tint2.googlecode.com/svn/trunk@265 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

429660abb620960ecd5267e20a7e47ed934c1709

parent

e966c20f75d1b15f3e7e3435e6be2d18f166f018

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M src/panel.csrc/panel.c

@@ -238,7 +238,12 @@ if (!panel1) return;

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;