[gtk+] GtkApplcationWindow: plug two obvious leaks
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkApplcationWindow: plug two obvious leaks
- Date: Mon, 19 Dec 2011 18:00:15 +0000 (UTC)
commit f0c2ff39fc84414eda271ee3c8f211436bc1daa3
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Dec 1 22:14:57 2011 -0500
GtkApplcationWindow: plug two obvious leaks
gtk/gtkapplicationwindow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index 68c39fd..ca4a9ea 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]