Patch for TRegIniFile.CloseSection
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
Without the attached patch, the sequence:
IniSettings :=TRegistryIniFile.Create(KeyName)
try
IniSettings.ReadSectionValues(AutoSaveKey, Files);
finally
IniSettings.Free;
end;
crashes, as a key is closed twice.
Additional information:
Related to 0036663: Broken TRegistryIniFile
Mantis conversion info:
- Mantis ID: 37483
- Platform: Windows
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 47410 (#88db3fb5)
- Target version: 3.2.2