diff options
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r-- | src/InputZeroMQReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp index f8c15c4..683968f 100644 --- a/src/InputZeroMQReader.cpp +++ b/src/InputZeroMQReader.cpp @@ -93,7 +93,7 @@ int InputZeroMQReader::GetNextFrame(void* buffer) memcpy(buffer, incoming, framesize); - delete incoming; + delete[] incoming; return framesize; } |