]> Dogcows Code - chaz/openbox/commitdiff
remove from desktop_menus when freed
authorDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 21:23:45 +0000 (21:23 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 21:23:45 +0000 (21:23 +0000)
openbox/client_list_menu.c

index f272dae8c5c5601ba7608fb8cafaf210aff26dcc..2dab84fc32c38991b5226fddd07d31132fcaf500 100644 (file)
@@ -74,6 +74,8 @@ static void desk_menu_destroy(ObMenu *menu, gpointer data)
     DesktopData *d = data;
 
     g_free(d);
+
+    desktop_menus = g_slist_remove(desktop_menus, menu);
 }
 
 static void self_update(ObMenuFrame *frame, gpointer data)
This page took 0.022077 seconds and 4 git commands to generate.