GtkCssImageSurface: Plug cache surface leak
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2373
This commit is contained in:
parent
4a1dc1abfa
commit
7e2bebb4d5
@ -140,6 +140,8 @@ gtk_css_image_surface_dispose (GObject *object)
|
||||
surface->surface = NULL;
|
||||
}
|
||||
|
||||
g_clear_pointer (&surface->cache, cairo_surface_destroy);
|
||||
|
||||
G_OBJECT_CLASS (_gtk_css_image_surface_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user