Commit 9ce1476e authored by Michael Catanzaro's avatar Michael Catanzaro
Browse files

history-dialog: fix memory corruption

Since converting the history dialog from the hosts table to the URLs
table, we have been using the wrong free function here. :/

Part-of: <>

(cherry picked from commit 3ce5510238f25c8a0de2428b7b24693f78bac296)
parent 36bc697e
......@@ -312,7 +312,7 @@ remove_pending_sorter_source (EphyHistoryDialog *self,
g_clear_handle_id (&self->sorter_source, g_source_remove);
if (free_urls && self->urls) {
ephy_history_host_list_free (self->urls);
ephy_history_url_list_free (self->urls);
self->urls = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment