aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/InputZeroMQReader.cpp2
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;
}