Memory leak
This commit is contained in:
parent
975b67b248
commit
f44fe7b6d2
@ -399,7 +399,7 @@ void DecodedBitStreamParser::decodeBase256Segment(Ref<BitSource> bits, ostringst
|
||||
throw FormatException("NegativeArraySizeException");
|
||||
}
|
||||
|
||||
char* bytes = new char[count];
|
||||
ArrayRef<char> bytes(count);
|
||||
for (int i = 0; i < count; i++) {
|
||||
// Have seen this particular error in the wild, such as at
|
||||
// http://www.bcgen.com/demo/IDAutomationStreamingDataMatrix.aspx?MODE=3&D=Fred&PFMT=3&PT=F&X=0.3&O=0&LM=0.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user