diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-19 13:31:50 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-19 13:31:50 -0500 |
commit | 2180267f5d4c7c400180dd2dd418e795d92c914f (patch) | |
tree | 63aafae9bc090bb8e0eb432a0ccdf00508235cc0 /gtk/gtksearchenginetracker.c | |
parent | 84b259d0768e6fcccb5e5d2b0ed05c9bd3beaab1 (diff) | |
download | gtk+-2180267f5d4c7c400180dd2dd418e795d92c914f.tar.gz |
Plug a memleak in the tracker search engine
Patch by Vincent Untz,
https://bugzilla.gnome.org/show_bug.cgi?id=642771
Diffstat (limited to 'gtk/gtksearchenginetracker.c')
-rw-r--r-- | gtk/gtksearchenginetracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksearchenginetracker.c b/gtk/gtksearchenginetracker.c index ad9ff7fe2f..641e7938eb 100644 --- a/gtk/gtksearchenginetracker.c +++ b/gtk/gtksearchenginetracker.c @@ -317,6 +317,7 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine) g_debug ("Query starting, search criteria:'%s', location:'%s'", search_text, location_uri); +#ifdef FTS_MATCHING /* Using FTS: */ sparql = g_string_new ("SELECT nie:url(?urn) " "WHERE {" @@ -325,7 +326,6 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine) " fts:match "); sparql_append_string_literal (sparql, search_text); -#ifdef FTS_MATCHING if (location_uri) { g_string_append (sparql, " . FILTER (fn:starts-with(nie:url(?urn),"); |