tracker r2083 - in branches/indexer-split: . src/tracker-indexer/modules
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2083 - in branches/indexer-split: . src/tracker-indexer/modules
- Date: Mon, 18 Aug 2008 10:32:35 +0000 (UTC)
Author: carlosg
Date: Mon Aug 18 10:32:35 2008
New Revision: 2083
URL: http://svn.gnome.org/viewvc/tracker?rev=2083&view=rev
Log:
2008-08-18 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/modules/files.c (get_file_content): Plug a leak.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/modules/files.c
Modified: branches/indexer-split/src/tracker-indexer/modules/files.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/modules/files.c (original)
+++ branches/indexer-split/src/tracker-indexer/modules/files.c Mon Aug 18 10:32:35 2008
@@ -227,11 +227,13 @@
error->message);
g_error_free (error);
g_object_unref (file);
+ g_object_unref (stream);
return NULL;
}
g_object_unref (file);
+ g_object_unref (stream);
g_debug ("Read %d bytes from file:'%s'\n",
sizeof (buf) - bytes_remaining,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]