Fix memory leak 25035

master
Liam Marshall 2015-05-15 13:11:55 -05:00
parent 289d84aac0
commit 306cece150
1 changed files with 2 additions and 0 deletions

View File

@ -956,6 +956,8 @@ Response GeometryEvaluator::visit(State &state, const ProjectionNode &node)
// Add correctly winded polygons to the main clipper
sumclipper.AddPaths(result, ClipperLib::ptSubject, true);
}
delete poly;
}
ClipperLib::PolyTree sumresult;
// This is key - without StrictlySimple, we tend to get self-intersecting results