#880 KeypointPNGEncoder leaks native memory

closed-fixed
David Gilbert
jcommon (9)
5
2015-01-27
2008-08-04
Anonymous
No

Per http://www.jfree.org/phpBB2/viewtopic.php?t=25298

The class PngEncoder is missing a call to end() after its use of the java.util.zip.Deflater package.

This leads to a native memory leak - details here:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4797189

Discussion

  • David Gilbert
    David Gilbert
    2008-08-15

    • assigned_to: nobody --> mungady
    • status: open --> closed-fixed
     
  • David Gilbert
    David Gilbert
    2008-08-15

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks for the report. I've committed this to the JCommon CVS for inclusion in the next release (1.0.14).

    Regards,

    Dave Gilbert

     
  • Jan
    Jan
    2015-01-27

    Has this bug been fixed also in PngEncoderB? In JCommon this class is not present anymore. Thanks!