[gedit] Fix very small memory leak on OS X



commit d6789ddb4d8222612fe0c3fb5a35f8ba357b630d
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Tue May 25 23:02:41 2010 +0200

    Fix very small memory leak on OS X

 gedit/gedit-commands-file.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-commands-file.c b/gedit/gedit-commands-file.c
index cd92a9d..729af88 100644
--- a/gedit/gedit-commands-file.c
+++ b/gedit/gedit-commands-file.c
@@ -1951,6 +1951,8 @@ quit_all ()
 			file_close_all (window, TRUE);
 		}
 	}
+
+	g_list_free (windows);
 }
 #endif
 



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