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:
Ell
2019-04-30 16:45:12 -04:00
parent 068df34a27
commit 84e183e5ed

View File

@ -170,6 +170,8 @@ gimp_canvas_passe_partout_get_extents (GimpCanvasItem *item)
cairo_region_xor (outer, inner); cairo_region_xor (outer, inner);
cairo_region_destroy (inner);
return outer; return outer;
} }