Mail Archives: geda-user/2017/01/28/08:44:50
Hi all,
I don't get this part of the code: MoveLayer(), new_index == -1. It does
memmove()'s to get rid of the layer in the layer array, but I don't see
any code that would free the layer's object arrays or rtrees.
Are those all just memleaked?
Related bug:
1. put two layers in the same group
2. draw a big rectangle on one of the layers and a line crossing it on the
other; let it clear the poly
3. delete the layer with the line
4. the line is gone, as expected; because there's no object removal on
layer removal, the polygon still has the clearance cutout for the line
until the poly gets clipped for some other reason. Simply noone told the
poly to reclip because the line is not really gone, it's just
unaccessible.
Regards,
Igor2
- Raw text -