Bloatpad: Don't leak a menu model

This commit is contained in:
Matthias Clasen 2011-12-01 17:41:46 -05:00 committed by Ryan Lortie
parent 7ad83b6827
commit 396876969a

View File

@ -188,6 +188,7 @@ create_window_menu (void)
menu = g_menu_new ();
g_menu_append_submenu (menu, "_Edit", (GMenuModel*)edit_menu);
g_object_unref (edit_menu);
return G_MENU_MODEL (menu);
}