Commit b933d576 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣

Merge branch 'pixbuf-from-surface-leak' into 'gtk-3-24'

gdkpixbuf-drawable: Free the pixbuf on Cairo error

See merge request !2952
parents 7208c97c c4f8eb7e
Pipeline #238747 passed with stages
in 27 minutes and 6 seconds
......@@ -288,6 +288,7 @@ gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
if (cairo_surface_status (surface) || dest == NULL)
cairo_surface_destroy (surface);
g_clear_object (&dest);
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment