** Fix for mem leak in case of cookies (By Michalis Kamburelis, bug ID #24333)

git-svn-id: trunk@24347 -
This commit is contained in:
michael 2013-04-27 19:01:49 +00:00
parent 707f09cae5
commit 043df96385

View File

@ -818,6 +818,7 @@ end;
destructor TFPCustomHTTPClient.Destroy;
begin
FreeAndNil(FCookies);
FreeAndNil(FRequestHeaders);
FreeAndNil(FResponseHeaders);
inherited Destroy;