Hello Angus,

I’ve send the below fix for a memory leak in ICS a while ago, but
This fix has not been implemented yet in the current v8.50 version.
That i’ve just installed
Maybe you’ve missed it?
But It solves the memory leak that occurs.

Thanks and best regards,
Jasja

Met vriendelijke groeten - Best regards - Mit freundlichen Grüßen - Bestu 
kveðjur - Sincères salutations
Jasja Glasbeek | Sales/Export/ICT | Machandel BV
tel: (+31) 516-425020 | mobile: (+31) 6-20165848 | email: ja...@machandel.com

Van: Jasja Glasbeek
Verzonden: maandag 28 augustus 2017 11:41
Aan: ICS support mailing
Onderwerp: RE: [twsocket] - memory leak in OverbyteIcsMimeUtils.pas 
:=>TMimeTypesList.Destroy + fix.

Good morning Angus and Francois,

I’ve downloaded the latest nightly version of ICS from the website (I just 
installed 10.2.1 update Rad Studio)

And while recompiling my source I found a memory leak via MadExcept, see below.

Memory leak is found and fixed in TMimeTypesList.Destroy;

{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
destructor TMimeTypesList.Destroy;
begin
    FStndTypes.Free(); // <== add this to fix leak
    FContentList.Free;
    FExtensionList.Free;
    FDefaultTypes.Free;
    inherited Destroy;
end;

In module 
OverbyteIcsMimeUtils.pas

Version 8.50 (latest I suppose) – see leak trace from MadExcept below
Author:       François PIETTE
Object:       Mime support routines (RFC2045).
Creation:     May 03, 2003  (Extracted from SmtpProt unit)
Version:      8.50
EMail:        francois.pie...@overbyte.be   http://www.overbyte.be
Support:      Use the mailing list twsoc...@elists.org
              Follow "support" link at http://www.overbyte.be for subscription.
Legal issues: Copyright (C) 2003-2016 by François PIETTE
              Rue de Grady 24, 4053 Embourg, Belgium.
              francois.pie...@overbyte.be



Met vriendelijke groeten - Best regards - Mit freundlichen Grüßen - Bestu 
kveðjur - Sincères salutations
Jasja Glasbeek | Sales/Export/ICT | Machandel BV
tel: (+31) 516-425020 | mobile: (+31) 6-20165848 | email: ja...@machandel.com



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to