X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=dbb0c70129417f54213ee9abd775c6cdcee44038;hb=6171dbf970c2c4f8d9736a8ae5184eb9ac38d7ce;hp=0e203739bda36ca15c2e9c0eae7c9075ad67f6b4;hpb=1fa08abd9c6674c14bf4088112e69a172ddf19b6;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index 0e203739..dbb0c701 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -110,13 +110,13 @@ void menu_startup(gboolean reconfig) g_assert(menu_parse_state.parent == NULL); if (!reconfig) - client_add_destructor(client_dest, NULL); + client_add_destroy_notify(client_dest, NULL); } void menu_shutdown(gboolean reconfig) { if (!reconfig) - client_remove_destructor(client_dest); + client_remove_destroy_notify(client_dest); parse_shutdown(menu_parse_inst); menu_parse_inst = NULL; @@ -357,6 +357,7 @@ static void menu_destroy_hash_value(ObMenu *self) g_free(self->name); g_free(self->title); g_free(self->execute); + g_free(self->more_menu); g_free(self); }