gvfs r1842 - in trunk: . monitor/proxy



Author: matthiasc
Date: Tue Jul 29 01:38:25 2008
New Revision: 1842
URL: http://svn.gnome.org/viewvc/gvfs?rev=1842&view=rev

Log:
Fix a crash with bind mounts


Modified:
   trunk/ChangeLog
   trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c

Modified: trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c
==============================================================================
--- trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c	(original)
+++ trunk/monitor/proxy/gvfsproxyvolumemonitordaemon.c	Tue Jul 29 01:38:25 2008
@@ -363,6 +363,8 @@
 
   if (name == NULL)
     name = g_strdup ("");
+  if (uuid == NULL)
+    uuid = g_strdup ("");
 
   dbus_message_iter_append_basic (&iter_struct, DBUS_TYPE_STRING, &id);
   dbus_message_iter_append_basic (&iter_struct, DBUS_TYPE_STRING, &name);



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