[tracker/class-signal: 30/50] tracker-writeback: Fix memory leak in taglib writeback module
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/class-signal: 30/50] tracker-writeback: Fix memory leak in taglib writeback module
- Date: Fri, 27 Aug 2010 11:50:34 +0000 (UTC)
commit 09f38af55f501b7b27e7285b956b8f608878f3f6
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Aug 23 17:58:43 2010 +0200
tracker-writeback: Fix memory leak in taglib writeback module
src/tracker-writeback/tracker-writeback-taglib.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-taglib.c b/src/tracker-writeback/tracker-writeback-taglib.c
index 6dd4077..881d32b 100644
--- a/src/tracker-writeback/tracker-writeback-taglib.c
+++ b/src/tracker-writeback/tracker-writeback-taglib.c
@@ -231,6 +231,8 @@ writeback_taglib_get_from_query (TrackerSparqlConnection *connection,
value = g_strdup (tracker_sparql_cursor_get_string (cursor, 0));
}
+ g_object_unref (cursor);
+
return value;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]