View Issue Details

IDProjectCategoryView StatusLast Update
0035761FPCFCLpublic2019-06-25 07:56
ReporterJan SchirrmacherAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindowsOS VersionWindows 10
Product Version2.0.2Product Build 
Target VersionFixed in Version3.3.1 
Summary0035761: TRegistryIniFile has memory leak
DescriptionHeaptrc reports always a leak at the line where TRegistryIniFile is created.
Steps To Reproduceprocedure TForm1.FormCreate(Sender: TObject);
var
  Ini :TRegistryIniFile;
begin
  Ini := TRegistryIniFile.Create('\Software\Atomek\Test\');
  try
    Caption := Ini.ReadString('Settings', 'Caption', 'Hello');
  finally
    Ini.Free;
  end;
end;

TagsNo tags attached.
Fixed in Revision42282
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-25 06:45 Jan Schirrmacher New Issue
2019-06-25 07:55 Michael Van Canneyt Project Lazarus => FPC
2019-06-25 07:56 Michael Van Canneyt Category LCL => FCL
2019-06-25 07:56 Michael Van Canneyt FPCTarget => -
2019-06-25 07:56 Michael Van Canneyt Assigned To => Michael Van Canneyt
2019-06-25 07:56 Michael Van Canneyt Status new => resolved
2019-06-25 07:56 Michael Van Canneyt Resolution open => fixed
2019-06-25 07:56 Michael Van Canneyt Fixed in Version => 3.3.1
2019-06-25 07:56 Michael Van Canneyt Fixed in Revision => 42282
2019-06-25 07:56 Michael Van Canneyt FPCTarget - => 3.2.0