[epiphany/mcatanzaro/history-dialog: 8/9] history-dialog: fix memory corruption
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/history-dialog: 8/9] history-dialog: fix memory corruption
- Date: Fri, 7 May 2021 19:40:26 +0000 (UTC)
commit 3ce5510238f25c8a0de2428b7b24693f78bac296
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. :/
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/960>
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]