[tracker/gdbus-porting: 26/33] miners/fs: Fixes memory leaks in tracker-miner-files-index.c
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting: 26/33] miners/fs: Fixes memory leaks in tracker-miner-files-index.c
- Date: Fri, 31 Dec 2010 09:46:34 +0000 (UTC)
commit 2e07a5e41d701d1bd79d4ce3a75e93769eb3b04c
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Dec 31 10:20:20 2010 +0100
miners/fs: Fixes memory leaks in tracker-miner-files-index.c
src/miners/fs/tracker-miner-files-index.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files-index.c b/src/miners/fs/tracker-miner-files-index.c
index 5f546d0..5f464c9 100644
--- a/src/miners/fs/tracker-miner-files-index.c
+++ b/src/miners/fs/tracker-miner-files-index.c
@@ -277,6 +277,7 @@ tracker_miner_files_index_reindex_mime_types (TrackerMinerFilesIndex *miner,
connection = tracker_sparql_connection_get (NULL, &inner_error);
if (!connection) {
+ g_free (mime_types);
tracker_gdbus_request_failed (request_id,
invocation,
&inner_error,
@@ -321,6 +322,7 @@ tracker_miner_files_index_reindex_mime_types (TrackerMinerFilesIndex *miner,
g_string_free (query, TRUE);
g_object_unref (connection);
+ g_free (mime_types);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]