Fix a memory leak. Patch by Christian Persch.

* gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
        Patch by Christian Persch.


svn path=/trunk/; revision=20752
This commit is contained in:
Matthias Clasen 2008-07-03 22:46:00 +00:00
parent 2f1ef69fb7
commit 8f6aa13b05
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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))
{