[gnome-terminal/gnome-3-10] window: Plug a mem leak



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

    window: Plug a mem leak
    
    (cherry picked from commit bca873ed12458fdbdeec7d7a8f250ac048efcee3)

 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 3e2994e..f873d73 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1999,6 +1999,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]