diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index e3a90285c..43206c87f 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1203,7 +1203,7 @@ public: for(std::vector::iterator i = this->begin(); i != this->end(); ++i) { - delete *i; + delete []*i; } } };