Issue #3306 - Memory leak using Crop tool
In gimp_canvas_passe_partout_get_extents(), free the inner region after XORing it with the outer region.
This commit is contained in:
@ -170,6 +170,8 @@ gimp_canvas_passe_partout_get_extents (GimpCanvasItem *item)
|
||||
|
||||
cairo_region_xor (outer, inner);
|
||||
|
||||
cairo_region_destroy (inner);
|
||||
|
||||
return outer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user