mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
* Fixed mem-leak, FContentProducers was re-initialized during the inherited destroy
git-svn-id: trunk@16825 -
This commit is contained in:
parent
9191eb35a9
commit
012ef5218b
@ -264,9 +264,9 @@ end;
|
||||
|
||||
destructor TWebPage.Destroy;
|
||||
begin
|
||||
inherited Destroy;
|
||||
if assigned(FContentProducers) then
|
||||
FreeAndNil(FContentProducers);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
function TWebPage.ContentProducerCount: integer;
|
||||
|
Loading…
Reference in New Issue
Block a user