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 9a6f242..f0cf25e 100644 (file)
@@ -481,6 +481,7 @@ void focus_cycle_popup_hide(void)
 
         g_free(t->text);
         XDestroyWindow(ob_display, t->win);
+        g_free(t);
 
         popup.targets = g_list_delete_link(popup.targets, popup.targets);
     }