glassechidna / zxing-cpp

ZXing C++ Library
Apache License 2.0
598 stars 435 forks source link

Memory leaks #20

Closed kenny1847 closed 9 years ago

kenny1847 commented 9 years ago

It has a lot of memory leaks from every file it read. I have to read hundreds of barcodes, but after first hundred it crashes with bad_alloc. ~ at 120th barcode it have leaks about 2Gb, so it crashs.

Maybe if I will understand how does this lib works inside I'll try to fix it. But if anybody from porters will solve this problem it will be great

kenny1847 commented 9 years ago

This issue was solved. I have sent a pull request

Benjamin-Dobell commented 9 years ago

Merged