[epiphany/mcatanzaro/more-leaks: 3/3] find-toolbar: fix leak of entry_tag




commit 33d21502ccaa62a085b46aa48268a6ff6c771ed0
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Fri Sep 16 14:09:14 2022 -0500

    find-toolbar: fix leak of entry_tag

 embed/ephy-find-toolbar.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/embed/ephy-find-toolbar.c b/embed/ephy-find-toolbar.c
index e46a4311f..417ceed5d 100644
--- a/embed/ephy-find-toolbar.c
+++ b/embed/ephy-find-toolbar.c
@@ -418,6 +418,8 @@ ephy_find_toolbar_dispose (GObject *object)
   g_cancellable_cancel (toolbar->cancellable);
   g_clear_object (&toolbar->cancellable);
 
+  g_clear_object (&toolbar->entry_tag);
+
   G_OBJECT_CLASS (ephy_find_toolbar_parent_class)->dispose (object);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]