Commit 2180267f authored by Matthias Clasen's avatar Matthias Clasen

Plug a memleak in the tracker search engine

Patch by Vincent Untz,
parent 84b259d0
......@@ -317,6 +317,7 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine)
g_debug ("Query starting, search criteria:'%s', location:'%s'", search_text, location_uri);
/* Using FTS: */
sparql = g_string_new ("SELECT nie:url(?urn) "
......@@ -325,7 +326,6 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine)
" fts:match ");
sparql_append_string_literal (sparql, search_text);
if (location_uri)
g_string_append (sparql, " . FILTER (fn:starts-with(nie:url(?urn),");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment