mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 08:06:11 +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;
|
destructor tarobjectreader.destroy;
|
||||||
begin
|
begin
|
||||||
inherited closefile;
|
inherited closefile;
|
||||||
ArSymbols.destroy;
|
ArSymbols.Free;
|
||||||
if assigned(LFNStrs) then
|
if assigned(LFNStrs) then
|
||||||
FreeMem(LFNStrs);
|
FreeMem(LFNStrs);
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
|
Loading…
Reference in New Issue
Block a user