There are seeming inconsistencies in cycle copying between types.

Following types have the cycle list:

- label
- polygon
- spline
- arc

Only polycopy() and splinecopy() call copycycles(). 

Is that intentional, or is a copycycles() call missing from labelcopy() and 
arccopy()?

NB1: Some splinecopy() and polycopy() calls are followed by a redundant 
copycycles()
-- that's a memory leak since copcycycles() does not attempt to free anything.

NB2: Some arccopy() calls are followed by copycycles(), but not all.
None labelcopy() calls are followed by copycycles().

Thanks, Kuba

PS. Have you ever ran xcircuit through Valgrind's memcheck? 
/me ducks and runs
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to