mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 21:59:47 +02:00
* Patch from Maciej Izak to allow loading multiple times
git-svn-id: trunk@42343 -
This commit is contained in:
parent
7f772683cb
commit
2425b97462
@ -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