tracker r2236 - branches/indexer-split/src/tracker-indexer
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2236 - branches/indexer-split/src/tracker-indexer
- Date: Tue, 16 Sep 2008 09:49:56 +0000 (UTC)
Author: pvanhoof
Date: Tue Sep 16 09:49:56 2008
New Revision: 2236
URL: http://svn.gnome.org/viewvc/tracker?rev=2236&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:49:56 2008
@@ -782,11 +782,11 @@
if (not_available)
return;
- if (count < 50) {
+ if (count < 51) {
batch[count++] = g_strdup (path);
}
- if (count == 50) {
+ if (count == 51) {
guint i;
GError *error = NULL;
DBusGProxy *proxy = tracker_dbus_get_thumbnailer ();
@@ -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]