mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-04 14:56:21 +02:00
IDE: fixed memleak introduced in r11821 #04703e3b42
git-svn-id: trunk@11857 -
This commit is contained in:
parent
29ab57af90
commit
9659e879c0
@ -2484,7 +2484,7 @@ function TBaseCompilerOptions.IsEqual(CompOpts: TBaseCompilerOptions): boolean;
|
|||||||
var
|
var
|
||||||
Tool: TCompilerDiffTool;
|
Tool: TCompilerDiffTool;
|
||||||
begin
|
begin
|
||||||
Tool:=TCompilerDiffTool.Create(TStringList.Create);
|
Tool:=TCompilerDiffTool.Create(nil);
|
||||||
CreateDiff(CompOpts,Tool);
|
CreateDiff(CompOpts,Tool);
|
||||||
Result:= not Tool.Differ;
|
Result:= not Tool.Differ;
|
||||||
Tool.Free;
|
Tool.Free;
|
||||||
|
Loading…
Reference in New Issue
Block a user