diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gtk/gtkfilesystem.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2008-07-03 Matthias Clasen <mclasen@redhat.com> + + Bug 540612 – mem leak in filechooser + + * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak. + Patch by Christian Persch. + 2008-07-04 Tor Lillqvist <tml@novell.com> Bug 540861 - invalid UTF-8 in input device name diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index 83a8b2c7c2..f4006f5265 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -418,6 +418,8 @@ get_volumes_list (GtkFileSystem *file_system) g_object_unref (volume); } + + g_list_free (volumes); } else if (g_drive_is_media_removable (drive) && !g_drive_is_media_check_automatic (drive)) { |