in mainJNILib.cpp There are two calls to the FPDFBitmap_CreateEx function, but the bitmap is never released. You should call this to free memory: ` FPDFBitmap_Destroy(pdfBitmap);`
in mainJNILib.cpp
There are two calls to the FPDFBitmap_CreateEx function, but the bitmap is never released.
You should call this to free memory:
FPDFBitmap_Destroy(pdfBitmap);