mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 05:09:33 +02:00
reduce one mem leak in menu designer
git-svn-id: trunk@12907 -
This commit is contained in:
parent
fd3a23fd89
commit
f6cf2dcbf9
@ -197,7 +197,7 @@ var
|
||||
|
||||
index_sequence: Array[1..INDEX_SEQUENCE_LENGTH] of Integer;
|
||||
|
||||
XMLConfig: TXMLConfig;
|
||||
XMLConfig: TXMLConfig = nil;
|
||||
|
||||
function TDesignerMainMenu.GetDesigner: TComponentEditorDesigner;
|
||||
begin
|
||||
@ -2257,4 +2257,7 @@ end;
|
||||
|
||||
initialization
|
||||
|
||||
finalization
|
||||
XMLConfig.Free;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user