diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-12-01 17:41:46 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-19 12:51:09 -0500 |
commit | 396876969ac98cf507e88a51d9c431a8c9264c31 (patch) | |
tree | 2da3ca3dca8ac21c028ffc9780a72491dbd83010 /examples | |
parent | 7ad83b6827030ae44ab11d495a6d7b1327d15a01 (diff) | |
download | gtk+-396876969ac98cf507e88a51d9c431a8c9264c31.tar.gz |
Bloatpad: Don't leak a menu model
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bloatpad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c index 1a2a050e68..d0614d10d2 100644 --- a/examples/bloatpad.c +++ b/examples/bloatpad.c @@ -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); } |