diff --git a/src/zm_mpeg.cpp b/src/zm_mpeg.cpp index f8bdc6660..a411147cd 100644 --- a/src/zm_mpeg.cpp +++ b/src/zm_mpeg.cpp @@ -491,7 +491,7 @@ VideoStream::~VideoStream( ) if (packet_buffers) { delete packet_buffers[0]; delete packet_buffers[1]; - delete packet_buffers; + delete[] packet_buffers; } /* close each codec */