summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-30 16:57:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-30 16:58:58 +0200
commit43d8e3de1710055e9051ab2696991b9d931283de (patch)
treec0bb3806b2c2e12955606fdf88af7236a18272e0
parent3c3787fae542c142c8eed7ae1d7434dfc50eca77 (diff)
downloaddabmod-43d8e3de1710055e9051ab2696991b9d931283de.tar.gz
dabmod-43d8e3de1710055e9051ab2696991b9d931283de.tar.bz2
dabmod-43d8e3de1710055e9051ab2696991b9d931283de.zip
Use correct delete[] in ZMQ input
-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;
}