v8.04 + D2009: memory leak in PNG export

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Miket
Newbie
Newbie
Posts: 13
Joined: Tue Jun 26, 2007 12:00 am

v8.04 + D2009: memory leak in PNG export

Post by Miket » Wed Nov 05, 2008 11:12 am

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

Pep
Site Admin
Site Admin
Posts: 3296
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Nov 10, 2008 12:10 pm

Hello Michael,

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

Post Reply