* 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:
michael 2019-07-13 13:41:06 +00:00
parent bf7c181fe2
commit fa5b9b4f5c

View File

@ -172,7 +172,10 @@ procedure TVersionInfo.FreeResources;
begin
if Assigned(FResources) then
FreeAndNil(FResources)
begin
FreeAndNil(FResources);
FVersionInfo := nil;
end
else
FreeAndNil(FVersionInfo);
end;