mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 06:08:17 +02:00
fixed memleak
git-svn-id: trunk@8661 -
This commit is contained in:
parent
e97bd8159a
commit
7091bb7446
@ -42,7 +42,7 @@ uses
|
||||
|
||||
Var
|
||||
TemplateProjectDescriptor : TTemplateProjectDescriptor;
|
||||
IDETemplates : TProjectTemplates;
|
||||
IDETemplates : TProjectTemplates = nil;
|
||||
itmFileNewFromTemplate : TIDEMenuSection;
|
||||
MenuList : TObjectList;
|
||||
|
||||
@ -348,5 +348,6 @@ end;
|
||||
Initialization
|
||||
MenuList:=TObjectList.Create;
|
||||
Finalization
|
||||
FreeAndNil(IDETemplates);
|
||||
FreeAndNil(MenuList);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user