mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Bug 540616 – mem leak in filechooser button
* gunixvolumemonitor.c (get_mount_for_mount_path): Free the mount entry. Reported by Chrisitan Persch svn path=/branches/glib-2-16/; revision=7212
This commit is contained in:
parent
3362be91bd
commit
a5ccc1fff1
@ -1,3 +1,12 @@
|
||||
2008-07-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merge from trunk:
|
||||
|
||||
Bug 540616 – mem leak in filechooser button
|
||||
|
||||
* gunixvolumemonitor.c (get_mount_for_mount_path): Free
|
||||
the mount entry. Reported by Chrisitan Persch
|
||||
|
||||
2008-07-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.16.4 ===
|
||||
|
@ -153,6 +153,8 @@ get_mount_for_mount_path (const char *mount_path,
|
||||
/* TODO: Set mountable volume? */
|
||||
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
|
||||
|
||||
g_unix_mount_free (mount_entry);
|
||||
|
||||
return G_MOUNT (mount);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user