forked from AuroraMiddleware/gtk
gdkwindow: Don't leak the surface in gdk_cairo_create()
This commit is contained in:
parent
7119037743
commit
de071768ae
@ -3058,6 +3058,8 @@ gdk_cairo_create (GdkWindow *window)
|
||||
cairo_region_destroy (region);
|
||||
cairo_clip (cr);
|
||||
|
||||
cairo_surface_destroy (surface);
|
||||
|
||||
return cr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user