valerybokov commented on PR #107:
URL: https://github.com/apache/pdfbox/pull/107#issuecomment-1229247301

   Hi, @THausherr! I found two methods with possible memory leaks.
   1 TrueTypeFont.finalize. If the super.finalize method will throw an 
exception then the close method will not be called. Maybe you will use 
try-finally. Additionally, it is a bit weird code when you call finalize and 
then close methods.
   2 PDTrueTypeFont.PDTrueTypeFont(COSDictionary). The ttfParser instance will 
not be closed if the parse method will throw an  exception.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to