[gtk+] gsk: Clear the profiler instance



commit 14322b03abfbeba30bd1bb1ad552280986dbcbba
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Oct 18 16:49:21 2016 +0100

    gsk: Clear the profiler instance
    
    When disposing the GskRenderer.

 gsk/gskrenderer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index 2a8f621..2d7cdec 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -124,6 +124,8 @@ gsk_renderer_dispose (GObject *gobject)
   gsk_renderer_unrealize (self);
 
   g_clear_pointer (&priv->cairo_context, cairo_destroy);
+
+  g_clear_object (&priv->profiler);
   g_clear_object (&priv->window);
   g_clear_object (&priv->display);
 


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