Better handle the destruction of the byte array in DataMatrixDecodedBitStreamParser. Fixes #58

This commit is contained in:
nikos.ftylitakis 2017-12-14 16:42:23 +02:00
parent 892dda9821
commit 8d6d5b20d1
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ void DecodedBitStreamParser::decodeBase256Segment(Ref<BitSource> bits, ostringst
byteSegments.push_back(bytes[i]);
result << (byte)bytes[i];
}
delete bytes;
delete [] bytes;
}
}
}