From: Christian Dywan Date: Sat, 3 Oct 2009 00:04:15 +0000 (+0200) Subject: Fix a memory leak in the address completion match handling X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a51b8f18dcac2ebcbf5ee7742b4551d3b54dbd7e;p=midori Fix a memory leak in the address completion match handling --- 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; }