mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-04 19:09:22 +01:00
* call inherited Destroy in TAsmOptimizer to avoid memory leak
git-svn-id: trunk@21706 -
This commit is contained in:
parent
6ae2a43161
commit
117c083003
@ -298,7 +298,8 @@ Unit aopt;
|
|||||||
Begin
|
Begin
|
||||||
if assigned(LabelInfo^.LabelTable) then
|
if assigned(LabelInfo^.LabelTable) then
|
||||||
Freemem(LabelInfo^.LabelTable);
|
Freemem(LabelInfo^.LabelTable);
|
||||||
Dispose(LabelInfo)
|
Dispose(LabelInfo);
|
||||||
|
inherited Destroy;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user