Page 1 of 1

v8.04 + D2009: memory leak in PNG export

Posted: Wed Nov 05, 2008 11:12 am
by 10545711
There is quite obvious memory leak in
TPNGExportFormat.SaveToStreamCompression

(D2009 version only, TEELPNGDLL macro undefined).

in the line

tmp.Assign(Bitmap);

Bitmap object is created and never freed.

Hope it will be fixed in the next maintenance release.

Best regards,
Michael

Posted: Mon Nov 10, 2008 12:10 pm
by Pep
Hello Michael,

ok, it has been fixed for the next maintenance releases. Thanks for the report !