mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
GskRenderer: Plug a memory leak
This commit is contained in:
parent
1db1a30339
commit
0a0c909e14
@ -517,6 +517,7 @@ gsk_renderer_render (GskRenderer *renderer,
|
||||
#endif
|
||||
|
||||
g_clear_pointer (&priv->prev_node, gsk_render_node_unref);
|
||||
cairo_region_destroy (clip);
|
||||
priv->prev_node = priv->root_node;
|
||||
priv->root_node = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user