IDE: fixed memleak introduced in r11821 #04703e3b42

git-svn-id: trunk@11857 -
This commit is contained in:
vincents 2007-08-24 12:35:18 +00:00
parent 29ab57af90
commit 9659e879c0

View File

@ -2484,7 +2484,7 @@ function TBaseCompilerOptions.IsEqual(CompOpts: TBaseCompilerOptions): boolean;
var
Tool: TCompilerDiffTool;
begin
Tool:=TCompilerDiffTool.Create(TStringList.Create);
Tool:=TCompilerDiffTool.Create(nil);
CreateDiff(CompOpts,Tool);
Result:= not Tool.Differ;
Tool.Free;