tracker r2162 - branches/indexer-split/src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2162 - branches/indexer-split/src/trackerd
- Date: Wed, 27 Aug 2008 08:22:05 +0000 (UTC)
Author: pvanhoof
Date: Wed Aug 27 08:22:05 2008
New Revision: 2162
URL: http://svn.gnome.org/viewvc/tracker?rev=2162&view=rev
Log:
Fixed the actual problem too
Modified:
branches/indexer-split/src/trackerd/tracker-daemon.c
Modified: branches/indexer-split/src/trackerd/tracker-daemon.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-daemon.c (original)
+++ branches/indexer-split/src/trackerd/tracker-daemon.c Wed Aug 27 08:22:05 2008
@@ -199,7 +199,7 @@
priv->last_stats = new_stats;
if (values && values->len > 0) {
- ret = (GStrv) g_malloc (sizeof (gchar*) * values->len);
+ ret = (GStrv) g_malloc (sizeof (gchar*) * values->len + 1);
for (i = 0 ; i < values->len; i++)
ret[i] = g_ptr_array_index (values, i);
ret[i] = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]