mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 02:59:21 +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;
|
destructor TWebPage.Destroy;
|
||||||
begin
|
begin
|
||||||
|
inherited Destroy;
|
||||||
if assigned(FContentProducers) then
|
if assigned(FContentProducers) then
|
||||||
FreeAndNil(FContentProducers);
|
FreeAndNil(FContentProducers);
|
||||||
inherited Destroy;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TWebPage.ContentProducerCount: integer;
|
function TWebPage.ContentProducerCount: integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user