tracker r1532 - branches/xesam-support/src/trackerd



Author: pvanhoof
Date: Thu May 29 14:01:05 2008
New Revision: 1532
URL: http://svn.gnome.org/viewvc/tracker?rev=1532&view=rev

Log:
Bugfix

Modified:
   branches/xesam-support/src/trackerd/tracker-dbus-xesam.c

Modified: branches/xesam-support/src/trackerd/tracker-dbus-xesam.c
==============================================================================
--- branches/xesam-support/src/trackerd/tracker-dbus-xesam.c	(original)
+++ branches/xesam-support/src/trackerd/tracker-dbus-xesam.c	Thu May 29 14:01:05 2008
@@ -780,9 +780,10 @@
 {
 	guint request_id = tracker_dbus_get_next_request_id ();
 	GStrv state_info;
-	gchar **state = g_malloc (sizeof (gchar *) * 1);
+	gchar **state = g_malloc (sizeof (gchar *) * 2);
 
 	state[0] = g_strdup (tracker_status_get_as_string ());
+	state[1] = NULL;
 
 	dbus_g_method_return (context, state_info);
 



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