mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-16 21:06:43 +00:00
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…
x
Reference in New Issue
Block a user