2008-12-12 Ryan Lortie <desrt@desrt.ca>
* gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
multiple mount entries match the requested path
svn path=/trunk/; revision=7742
+2008-12-12 Ryan Lortie <desrt@desrt.ca>
+
+ * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
+ multiple mount entries match the requested path
+
2008-12-12 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.
{
mount_entry = l->data;
- if (strcmp (mount_path, mount_entry->mount_path) == 0)
+ if (!found && strcmp (mount_path, mount_entry->mount_path) == 0)
found = mount_entry;
else
g_unix_mount_free (mount_entry);