]> Dogcows Code - chaz/openbox/commitdiff
fix a mem leak
authorDana Jansens <danakj@orodu.net>
Fri, 25 Jan 2008 15:27:44 +0000 (10:27 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 25 Jan 2008 15:27:44 +0000 (10:27 -0500)
openbox/focus_cycle_popup.c

index 9a6f2420e7cb17928650e2e0f452f044236eb6db..f0cf25e2e3cd9e908c13bb89f1eff91c53c94d4b 100644 (file)
@@ -481,6 +481,7 @@ void focus_cycle_popup_hide(void)
 
         g_free(t->text);
         XDestroyWindow(ob_display, t->win);
 
         g_free(t->text);
         XDestroyWindow(ob_display, t->win);
+        g_free(t);
 
         popup.targets = g_list_delete_link(popup.targets, popup.targets);
     }
 
         popup.targets = g_list_delete_link(popup.targets, popup.targets);
     }
This page took 0.024812 seconds and 4 git commands to generate.