mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 05:59:27 +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
|
begin
|
||||||
if Assigned(FResources) then
|
if Assigned(FResources) then
|
||||||
FreeAndNil(FResources)
|
begin
|
||||||
|
FreeAndNil(FResources);
|
||||||
|
FVersionInfo := nil;
|
||||||
|
end
|
||||||
else
|
else
|
||||||
FreeAndNil(FVersionInfo);
|
FreeAndNil(FVersionInfo);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user