From 9102d8a64b5670aabddcf2c18895d593eb0e05d3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 21:23:45 +0000 Subject: [PATCH] remove from desktop_menus when freed --- openbox/client_list_menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/client_list_menu.c b/openbox/client_list_menu.c index f272dae8..2dab84fc 100644 --- a/openbox/client_list_menu.c +++ b/openbox/client_list_menu.c @@ -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) -- 2.45.2