Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[harbour-barcode] Fixed BitMatrix leak
In case if GlobalHistogramBinarizer::getBlackMatrix() throws an exception like this: #0 zxing::Exception::Exception () at Exception.h:34 #1 ReaderException::ReaderException () at ReaderException.h:30 #2 NotFoundException::NotFoundException () at NotFoundException.h:28 #3 zxing::GlobalHistogramBinarizer::estimateBlackPoint() at GlobalHistogramBinarizer.cpp:198 #4 zxing::GlobalHistogramBinarizer::getBlackMatrix () GlobalHistogramBinarizer.cpp:129 #5 zxing::BinaryBitmap::getBlackMatrix () BinaryBitmap.cpp:40 ...
- Loading branch information