[tracker/fts4: 25/26] tracker-info: Fixed memory leak when using prefixes for shorthand properties
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/fts4: 25/26] tracker-info: Fixed memory leak when using prefixes for shorthand properties
- Date: Tue, 5 Feb 2013 16:56:11 +0000 (UTC)
commit 0273faed35d6d1864cc73323437665caf3b410ba
Author: Martyn Russell <martyn lanedo com>
Date: Tue Feb 5 16:46:52 2013 +0000
tracker-info: Fixed memory leak when using prefixes for shorthand properties
e.g. nie:url instead of fully qualified URLs
src/tracker-utils/tracker-info.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-utils/tracker-info.c b/src/tracker-utils/tracker-info.c
index 753d867..a5b4b9c 100644
--- a/src/tracker-utils/tracker-info.c
+++ b/src/tracker-utils/tracker-info.c
@@ -120,8 +120,8 @@ get_prefixes (TrackerSparqlConnection *connection)
retval = g_hash_table_new_full (g_str_hash,
g_str_equal,
- NULL,
- NULL);
+ g_free,
+ g_free);
/* FIXME: Would like to get this in the same SPARQL that we
* use to get the info, but doesn't seem possible at the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]