glib r7191 - trunk/gio



Author: matthiasc
Date: Wed Jul 16 06:13:41 2008
New Revision: 7191
URL: http://svn.gnome.org/viewvc/glib?rev=7191&view=rev

Log:
Plug a leak


Modified:
   trunk/gio/ChangeLog
   trunk/gio/gunixvolumemonitor.c

Modified: trunk/gio/gunixvolumemonitor.c
==============================================================================
--- trunk/gio/gunixvolumemonitor.c	(original)
+++ trunk/gio/gunixvolumemonitor.c	Wed Jul 16 06:13:41 2008
@@ -154,6 +154,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]