diff --git a/IO/src/ImageFile.cpp b/IO/src/ImageFile.cpp index e4d767f..18d7602 100644 --- a/IO/src/ImageFile.cpp +++ b/IO/src/ImageFile.cpp @@ -242,7 +242,7 @@ FasTC::Image<> *ImageFile::LoadImage() const { // Cleanup delete loader; - delete pixelData; + delete [] pixelData; return i; }