I noticed that every time scaling is used, the library leaks a significant amount of native heap memory (tested on Android). I traced the problem to ScalingScanlineProcessingBlock module, where the Scanline objects were not correctly freed for each processed input scanline.
I verified this fix on Android only, since the changes are quite trivial.
This fixes #196
I noticed that every time scaling is used, the library leaks a significant amount of native heap memory (tested on Android). I traced the problem to
ScalingScanlineProcessingBlock
module, where theScanline
objects were not correctly freed for each processed input scanline.I verified this fix on Android only, since the changes are quite trivial.