Fix a memory leak in the address completion match handling

This commit is contained in:
Christian Dywan 2009-10-03 02:04:15 +02:00
parent 2b493414d5
commit a51b8f18dc

View file

@ -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;
}