From 43d8e3de1710055e9051ab2696991b9d931283de Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 30 May 2015 16:57:36 +0200 Subject: Use correct delete[] in ZMQ input --- src/InputZeroMQReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3