[epiphany/mcatanzaro/history-dialog: 1/2] history-dialog: fix memory corruption
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/history-dialog: 1/2] history-dialog: fix memory corruption
- Date: Tue, 4 May 2021 20:12:33 +0000 (UTC)
commit b21bc0fa396e11028e469e7fcc29679f37264812
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue May 4 15:11:06 2021 -0500
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. :/
src/ephy-history-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-history-dialog.c b/src/ephy-history-dialog.c
index 679a28930..8e5340cf1 100644
--- a/src/ephy-history-dialog.c
+++ b/src/ephy-history-dialog.c
@@ -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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]