[tracker] We must return a opened sparqlbuilder instance
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] We must return a opened sparqlbuilder instance
- Date: Wed, 15 Jul 2009 14:21:39 +0000 (UTC)
commit 7b3d24ea7fc3a3af5e03fe4a4b224c5f86315456
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Jul 15 16:21:01 2009 +0200
We must return a opened sparqlbuilder instance
src/tracker-miner-fs/modules/applications.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-miner-fs/modules/applications.c b/src/tracker-miner-fs/modules/applications.c
index 316f727..c74a99d 100644
--- a/src/tracker-miner-fs/modules/applications.c
+++ b/src/tracker-miner-fs/modules/applications.c
@@ -326,7 +326,6 @@ tracker_application_file_get_metadata (TrackerModuleFile *file, gchar **mime_typ
tracker_sparql_builder_object_iri (sparql, desktop_file_uri);
g_free (desktop_file_uri);
- tracker_sparql_builder_insert_close (sparql);
}
if (cats)
@@ -338,6 +337,8 @@ tracker_application_file_get_metadata (TrackerModuleFile *file, gchar **mime_typ
g_free (path);
g_free (name);
+ /* We must return a opened sparql-builder (don't close it) */
+
return sparql;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]