[tracker/ontology-cope] squashme too
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/ontology-cope] squashme too
- Date: Fri, 19 Mar 2010 14:43:06 +0000 (UTC)
commit 0e7a717989b956eabe23a82fcf5fa14eebbba5e9
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Mar 19 15:42:28 2010 +0100
squashme too
src/libtracker-data/tracker-data-update.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index ef17da5..7a7be49 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2328,7 +2328,7 @@ ontology_statement_insert (GList *ontology_queue,
GHashTable *properties,
GHashTable *id_uri_map)
{
- gchar *graph, *subject, *predicate;
+ const gchar *graph, *subject, *predicate;
if (graph_id > 0) {
graph = g_hash_table_lookup (id_uri_map, GINT_TO_POINTER (graph_id));
@@ -2344,10 +2344,6 @@ ontology_statement_insert (GList *ontology_queue,
ontology_queue = queue_statement (ontology_queue, graph, subject, predicate, object, FALSE);
- g_free (graph);
- g_free (subject);
- g_free (predicate);
-
return ontology_queue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]