[gnome-terminal] window: Plug a mem leak



commit bca873ed12458fdbdeec7d7a8f250ac048efcee3
Author: Christian Persch <chpe gnome org>
Date:   Thu Sep 12 19:42:08 2013 +0200

    window: Plug a mem leak

 src/terminal-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index ebd20ad..354a7f2 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2731,6 +2731,7 @@ terminal_window_dispose (GObject *object)
   for (l = list; l != NULL; l = l->next)
     if (GTK_IS_MENU (l->data))
       gtk_menu_popdown (GTK_MENU (l->data));
+  g_slist_free (list);
 
   remove_popup_info (window);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]