[epiphany/mcatanzaro/#1099] bookmark: free everything in finalize
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1099] bookmark: free everything in finalize
- Date: Mon, 17 Feb 2020 19:20:13 +0000 (UTC)
commit 8ced9179be504c3658498aaa293e3f3527627075
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Feb 17 13:18:41 2020 -0600
bookmark: free everything in finalize
Lots of data leaked here. :(
Fixes #1099
src/bookmarks/ephy-bookmark.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/bookmarks/ephy-bookmark.c b/src/bookmarks/ephy-bookmark.c
index 0185377cb..de1c11074 100644
--- a/src/bookmarks/ephy-bookmark.c
+++ b/src/bookmarks/ephy-bookmark.c
@@ -177,10 +177,14 @@ ephy_bookmark_finalize (GObject *object)
g_free (self->url);
g_free (self->title);
- g_free (self->id);
g_sequence_free (self->tags);
+ g_free (self->id);
+ g_free (self->type);
+ g_free (self->parent_id);
+ g_free (self->parent_name);
+
G_OBJECT_CLASS (ephy_bookmark_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]