diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-18 16:49:21 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-18 16:49:21 +0100 |
commit | 14322b03abfbeba30bd1bb1ad552280986dbcbba (patch) | |
tree | ca9e3dfdb9dfc5821cf8c7e2de4eed0d3aa66ad0 /gsk | |
parent | d3f88adab72c685ae66bc11aebb4b6c2ed248d0a (diff) | |
download | gtk+-14322b03abfbeba30bd1bb1ad552280986dbcbba.tar.gz |
gsk: Clear the profiler instance
When disposing the GskRenderer.
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gskrenderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c index 2a8f621455..2d7cdec4d1 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); |