johngray1965 / PdfiumAndroidKt

Pdfium Android binding with Bitmap rendering ( >= API 21 )
Other
31 stars 12 forks source link

Fixed memory leak when opening PDF as a byte array #11

Closed TobiasBuchholz closed 1 year ago

TobiasBuchholz commented 1 year ago

This is the PR #85 ported over from the older PdfiumAndroid library which fixes a memory leak when opening PDF as a byte array. I was able to test it in my own app and it seems to work fine.

johngray1965 commented 1 year ago

Thank you for the fix. I don't generally use that path. I'll try to push out a try version shortly