[tracker/ontology-cope: 5/11] squashme too
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/ontology-cope: 5/11] squashme too
- Date: Tue, 23 Mar 2010 13:39:47 +0000 (UTC)
commit b1e03f64a4a2c14c7946ddb009b9748a7df0b7a4
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]