mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 17:09:41 +02:00
* call ArSymbols.Free instead of .Destroy in the tarobjectreader destructor
(because .destroy will cause a crash in case the object hasn't been initialized) git-svn-id: trunk@30762 -
This commit is contained in:
parent
5160c8f0a3
commit
74c74b6a88
@ -342,7 +342,7 @@ implementation
|
||||
destructor tarobjectreader.destroy;
|
||||
begin
|
||||
inherited closefile;
|
||||
ArSymbols.destroy;
|
||||
ArSymbols.Free;
|
||||
if assigned(LFNStrs) then
|
||||
FreeMem(LFNStrs);
|
||||
inherited Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user