* Fixed mem-leak, FContentProducers was re-initialized during the inherited destroy

git-svn-id: trunk@16825 -
This commit is contained in:
joost 2011-01-28 10:55:35 +00:00
parent 9191eb35a9
commit 012ef5218b

View File

@ -264,9 +264,9 @@ end;
destructor TWebPage.Destroy;
begin
inherited Destroy;
if assigned(FContentProducers) then
FreeAndNil(FContentProducers);
inherited Destroy;
end;
function TWebPage.ContentProducerCount: integer;