forked from AuroraMiddleware/gtk
Plug a pixmap leak
We were getting our refcounts tangled up when setting drawable clips on GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
This commit is contained in:
parent
90f72a0d8f
commit
d32b061895
@ -682,6 +682,7 @@ _gdk_gc_add_drawable_clip (GdkGC *gc,
|
||||
-1, -1);
|
||||
gdk_gc_set_clip_region (tmp_gc, NULL);
|
||||
gdk_gc_set_clip_mask (gc, new_mask);
|
||||
g_object_unref (new_mask);
|
||||
}
|
||||
else if (overlap == GDK_OVERLAP_RECTANGLE_OUT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user