diff --git a/Geo/GFaceCompound.cpp b/Geo/GFaceCompound.cpp index 2304d1f6a1024e905463052094688e57ebfd8775..52357e2bb158947b34224cb561daa11ce726bae6 100644 --- a/Geo/GFaceCompound.cpp +++ b/Geo/GFaceCompound.cpp @@ -496,6 +496,7 @@ GFaceCompound::~GFaceCompound() Octree_Delete(oct); delete [] _gfct; } + if (_lsys)delete _lsys; } static bool orderVertices(const std::list<GEdge*> &e, std::vector<MVertex*> &l,