diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 0270f9c3..ffda4453 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -733,10 +733,11 @@ midori_location_entry_completion_match_cb (GtkEntryCompletion* completion, temp = g_utf8_casefold (title, -1); match = (strstr (temp, key) != NULL); g_free (temp); - g_free (title); } } + g_free (title); + return match; }