glib r7212 - branches/glib-2-16/gio



Author: matthiasc
Date: Sun Jul 20 02:47:15 2008
New Revision: 7212
URL: http://svn.gnome.org/viewvc/glib?rev=7212&view=rev

Log:
        Bug 540616 â mem leak in filechooser button

        * gunixvolumemonitor.c (get_mount_for_mount_path): Free
        the mount entry. Reported by Chrisitan Persch



Modified:
   branches/glib-2-16/gio/ChangeLog
   branches/glib-2-16/gio/gunixvolumemonitor.c

Modified: branches/glib-2-16/gio/gunixvolumemonitor.c
==============================================================================
--- branches/glib-2-16/gio/gunixvolumemonitor.c	(original)
+++ branches/glib-2-16/gio/gunixvolumemonitor.c	Sun Jul 20 02:47:15 2008
@@ -153,6 +153,8 @@
   /* TODO: Set mountable volume? */
   mount = _g_unix_mount_new (NULL, mount_entry, NULL);
 
+  g_unix_mount_free (mount_entry);
+
   return G_MOUNT (mount);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]