mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
Plug a leak
svn path=/trunk/; revision=7191
This commit is contained in:
parent
d17b52cbdb
commit
6dba7df4b1
@ -1,3 +1,10 @@
|
|||||||
|
2008-07-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 540616 – mem leak in filechooser button
|
||||||
|
|
||||||
|
* gunixvolumemonitor.c (get_mount_for_mount_path): Free
|
||||||
|
the mount entry. Reported by Chrisitan Persch
|
||||||
|
|
||||||
2008-07-16 Matthias Clasen <mclasen@redhat.com>
|
2008-07-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gfile.c: Small documentation fixes.
|
* gfile.c: Small documentation fixes.
|
||||||
|
@ -154,6 +154,8 @@ get_mount_for_mount_path (const char *mount_path,
|
|||||||
/* TODO: Set mountable volume? */
|
/* TODO: Set mountable volume? */
|
||||||
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
|
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
|
||||||
|
|
||||||
|
g_unix_mount_free (mount_entry);
|
||||||
|
|
||||||
return G_MOUNT (mount);
|
return G_MOUNT (mount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user