diff --git a/src/Mod/TechDraw/App/PropertyCenterLineList.cpp b/src/Mod/TechDraw/App/PropertyCenterLineList.cpp index 6607bb5d9c..7d635dfe68 100644 --- a/src/Mod/TechDraw/App/PropertyCenterLineList.cpp +++ b/src/Mod/TechDraw/App/PropertyCenterLineList.cpp @@ -78,9 +78,6 @@ void PropertyCenterLineList::setValue(CenterLine* lValue) void PropertyCenterLineList::setValues(const std::vector& lValue) { aboutToSetValue(); - for (auto& value : _lValueList) { - delete value; - } _lValueList.resize(lValue.size()); for (unsigned int i = 0; i < lValue.size(); i++) _lValueList[i] = lValue[i];