Fix a memory leak in the address completion match handling
This commit is contained in:
parent
2b493414d5
commit
a51b8f18dc
1 changed files with 2 additions and 1 deletions
|
@ -733,9 +733,10 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
return match;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue