gdkwindow: Don't leak the surface in gdk_cairo_create()

This commit is contained in:
Colomban Wendling 2014-06-24 03:37:59 +02:00 committed by Jasper St. Pierre
parent 7119037743
commit de071768ae

View File

@ -3058,6 +3058,8 @@ gdk_cairo_create (GdkWindow *window)
cairo_region_destroy (region);
cairo_clip (cr);
cairo_surface_destroy (surface);
return cr;
}