tracker r2235 - branches/indexer-split/src/tracker-indexer



Author: pvanhoof
Date: Tue Sep 16 09:48:52 2008
New Revision: 2235
URL: http://svn.gnome.org/viewvc/tracker?rev=2235&view=rev

Log:
Eek, small memory leak

Modified:
   branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c

Modified: branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c	(original)
+++ branches/indexer-split/src/tracker-indexer/tracker-metadata-utils.c	Tue Sep 16 09:48:52 2008
@@ -806,7 +806,7 @@
 			g_error_free (error);
 		}
 
-		for (i = 0; i < count; i++)
+		for (i = 0; i <= count; i++)
 			g_free (batch[i]);
 
 		count = 0;



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