diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-12-01 22:14:57 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-19 12:51:10 -0500 |
commit | f0c2ff39fc84414eda271ee3c8f211436bc1daa3 (patch) | |
tree | 9d04d52ad9609b965d87fdaf8f5f3f99fd35c0a3 /gtk/gtkapplicationwindow.c | |
parent | c7e72375598560e2b58c7658440df992d632e92d (diff) | |
download | gtk+-f0c2ff39fc84414eda271ee3c8f211436bc1daa3.tar.gz |
GtkApplcationWindow: plug two obvious leaks
Diffstat (limited to 'gtk/gtkapplicationwindow.c')
-rw-r--r-- | gtk/gtkapplicationwindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index 68c39fd0c6..ca4a9ea266 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -507,6 +507,9 @@ gtk_application_window_dispose (GObject *object) gtk_widget_unparent (window->priv->menubar); window->priv->menubar = NULL; } + + g_clear_object (&window->priv->app_menu_section); + g_clear_object (&window->priv->menubar_section); g_clear_object (&window->priv->actions); G_OBJECT_CLASS (gtk_application_window_parent_class) |