remove from desktop_menus when freed
This commit is contained in:
parent
f78b849af2
commit
9102d8a64b
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue