Do not leak a cairo region

This memory leak fix was present in GTK+ 3 since 3.10. We forgot
to backport it to GTK+ 2.

https://bugzilla.gnome.org/show_bug.cgi?id=738837
This commit is contained in:
Matthias Clasen
2014-10-20 06:17:56 -04:00
parent 7f99fdbe90
commit aff976ef0d

View File

@@ -8747,6 +8747,8 @@ do_child_shapes (GdkWindow *window,
gdk_region_subtract (region, private->shape);
gdk_window_shape_combine_region (window, region, 0, 0);
cairo_region_destroy (region);
}
/**