diff --git a/src/zxing/zxing/datamatrix/decoder/DataMatrixDecodedBitStreamParser.cpp b/src/zxing/zxing/datamatrix/decoder/DataMatrixDecodedBitStreamParser.cpp index 1485df7..e38a188 100644 --- a/src/zxing/zxing/datamatrix/decoder/DataMatrixDecodedBitStreamParser.cpp +++ b/src/zxing/zxing/datamatrix/decoder/DataMatrixDecodedBitStreamParser.cpp @@ -410,7 +410,7 @@ void DecodedBitStreamParser::decodeBase256Segment(Ref bits, ostringst byteSegments.push_back(bytes[i]); result << (byte)bytes[i]; } - delete bytes; + delete [] bytes; } } }