mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 00:29:20 +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);
|
Header.DecodeFrom(RawRecord);
|
||||||
FPageSize:=Header.PageSize;
|
FPageSize:=Header.PageSize;
|
||||||
ReadDictionary(Header.DictionaryOffset, Header.DictionarySizeInBlocks);
|
ReadDictionary(Header.DictionaryOffset, Header.DictionarySizeInBlocks);
|
||||||
|
Header.Free;
|
||||||
|
RawRecord.Free;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TOmfLibObjectReader.ReadDictionary(DictionaryOffset: DWord; DictionarySizeInBlocks: Word);
|
procedure TOmfLibObjectReader.ReadDictionary(DictionaryOffset: DWord; DictionarySizeInBlocks: Word);
|
||||||
|
Loading…
Reference in New Issue
Block a user