From 95ec3073805f4754a4094f8ed649ac2ace2844da Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 29 Jan 2014 14:03:34 -0500 Subject: [PATCH] Fix delete to delete [] --- IO/src/ImageFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }