mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
* fixed memory leak in TOmfLibObjectReader.ReadLibrary
git-svn-id: trunk@31748 -
This commit is contained in:
parent
24d051703e
commit
d942309402
@ -366,6 +366,8 @@ implementation
|
||||
Header.DecodeFrom(RawRecord);
|
||||
FPageSize:=Header.PageSize;
|
||||
ReadDictionary(Header.DictionaryOffset, Header.DictionarySizeInBlocks);
|
||||
Header.Free;
|
||||
RawRecord.Free;
|
||||
end;
|
||||
|
||||
procedure TOmfLibObjectReader.ReadDictionary(DictionaryOffset: DWord; DictionarySizeInBlocks: Word);
|
||||
|
Loading…
Reference in New Issue
Block a user