[tracker/gdbus-porting-rebased: 20/65] libtracker-miner: Fixes memory leaks in tracker-thumbnailer.c
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting-rebased: 20/65] libtracker-miner: Fixes memory leaks in tracker-thumbnailer.c
- Date: Wed, 12 Jan 2011 11:17:26 +0000 (UTC)
commit e51a3e8599a993f2dab39483cad7da1e340eb485
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Dec 31 10:20:06 2010 +0100
libtracker-miner: Fixes memory leaks in tracker-thumbnailer.c
src/libtracker-miner/tracker-thumbnailer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-thumbnailer.c b/src/libtracker-miner/tracker-thumbnailer.c
index 60a1a25..ea5a6df 100644
--- a/src/libtracker-miner/tracker-thumbnailer.c
+++ b/src/libtracker-miner/tracker-thumbnailer.c
@@ -215,7 +215,7 @@ error_handler:
guint i;
/* The table that you receive may contain duplicate mime-types, because
- * they are grouped against the uri_schemes table */
+ * they are grouped against the uri_schemes table */
hash = g_hash_table_new (g_str_hash, g_str_equal);
@@ -240,6 +240,8 @@ error_handler:
private->service_is_available = TRUE;
}
+ g_free (mime_types);
+ g_free (uri_schemes);
g_variant_unref (v);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]