mirror of https://github.com/status-im/qzxing.git
Better handle the destruction of the byte array in DataMatrixDecodedBitStreamParser. Fixes #58
This commit is contained in:
parent
892dda9821
commit
8d6d5b20d1
|
@ -410,7 +410,7 @@ void DecodedBitStreamParser::decodeBase256Segment(Ref<BitSource> bits, ostringst
|
|||
byteSegments.push_back(bytes[i]);
|
||||
result << (byte)bytes[i];
|
||||
}
|
||||
delete bytes;
|
||||
delete [] bytes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue