LibreCAD/LibreCAD — pull request #324 by epagel (2012-04-20 16:09:40+00:00)
Title: in RS_EntityContainer::optimizeContours() if next is null

Please check why getNearestEnpoint returns null for next

Maybe there is a problem with count().
Maybe there is a problem with saving a drawing in earlier versions.

(see http://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5651061.html)