GtkCssImageSurface: Plug cache surface leak
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2373
This commit is contained in:
		| @ -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); | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sebastian Keller
					Sebastian Keller