diff --git a/src/Format.cpp b/src/Format.cpp index 69521d373..dc36499f7 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -213,7 +213,7 @@ std::vector format::VideoBufferToPPM(const VideoBuffer & vidBuf) } data.insert(data.end(), currentRow, currentRow+(vidBuf.Width*3)); } - delete currentRow; + delete [] currentRow; return data; }