[gtk] widget: Unref priv->{allocated_,}transform



commit 88344ccf4ee1f6a21072bff3e31c94f3678af12b
Author: Timm Bäder <mail baedert org>
Date:   Mon Jun 3 16:56:20 2019 +0200

    widget: Unref priv->{allocated_,}transform

 gtk/gtkwidget.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index f2487b1201..8221d31d91 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8000,6 +8000,8 @@ gtk_widget_finalize (GObject *object)
   g_free (priv->name);
 
   g_clear_object (&priv->accessible);
+  g_clear_pointer (&priv->transform, gsk_transform_unref);
+  g_clear_pointer (&priv->allocated_transform, gsk_transform_unref);
 
   gtk_widget_clear_path (widget);
 


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