fix memory leak

This commit is contained in:
wmayer 2016-08-24 19:09:12 +02:00
parent a830b8feb3
commit 22d8095b86

View File

@ -354,6 +354,7 @@ bool EarClippingTriangulator::Triangulate::Process(const std::vector<Base::Vecto
/* if we loop, it is probably a non-simple polygon */
if (0 >= (count--)) {
//** Triangulate: ERROR - probable bad polygon!
delete [] V;
return false;
}