[libhandy/tabs: 6/62] Another leak




commit 9dd6b65401004be90d7846a9b2a05aa1730e4c38
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Sep 3 21:36:02 2020 +0500

    Another leak

 src/hdy-tab-box.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/hdy-tab-box.c b/src/hdy-tab-box.c
index 5d9be9f2..0fe15f4e 100644
--- a/src/hdy-tab-box.c
+++ b/src/hdy-tab-box.c
@@ -2949,6 +2949,7 @@ hdy_tab_box_finalize (GObject *object)
   HdyTabBox *self = (HdyTabBox *) object;
 
   g_clear_object (&self->touch_menu_gesture);
+  g_clear_pointer (&self->source_targets, gtk_target_list_unref);
 
   G_OBJECT_CLASS (hdy_tab_box_parent_class)->finalize (object);
 }


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