mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 11:31:04 +02:00
* Merging revisions r42343 from trunk:
------------------------------------------------------------------------ r42343 | michael | 2019-07-08 12:24:00 +0200 (Mon, 08 Jul 2019) | 1 line * Patch from Maciej Izak to allow loading multiple times ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@42435 -
This commit is contained in:
parent
bf7c181fe2
commit
fa5b9b4f5c
@ -172,7 +172,10 @@ procedure TVersionInfo.FreeResources;
|
||||
|
||||
begin
|
||||
if Assigned(FResources) then
|
||||
FreeAndNil(FResources)
|
||||
begin
|
||||
FreeAndNil(FResources);
|
||||
FVersionInfo := nil;
|
||||
end
|
||||
else
|
||||
FreeAndNil(FVersionInfo);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user