diff --git a/FileIO/XmlIO/Qt/XmlGmlInterface.cpp b/FileIO/XmlIO/Qt/XmlGmlInterface.cpp index a9cc03dce2b5d8c2309030128c5ea8d8cbcc2f61..24bb979b2b140f8d22d3b771e5d14bd80182ae22 100644 --- a/FileIO/XmlIO/Qt/XmlGmlInterface.cpp +++ b/FileIO/XmlIO/Qt/XmlGmlInterface.cpp @@ -216,6 +216,7 @@ void XmlGmlInterface::deleteGeometry(std::vector<GeoLib::Point*>* points, delete points; delete pnt_names; deletePolylines(polylines, ply_names); + deleteSurfaces(surfaces, sfc_names); } void XmlGmlInterface::deletePolylines(std::vector<GeoLib::Polyline*>* polylines,