mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-26 03:02:15 -05:00
Free the settingsdata (no leaks allowed!)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@390 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
c387bbde93
commit
c2957dd275
@ -125,7 +125,12 @@ begin
|
||||
end;
|
||||
|
||||
destructor TMMLSettings.Destroy;
|
||||
var
|
||||
i : integer;
|
||||
begin
|
||||
for i := 0 to Nodes.Count - 1 do
|
||||
if Nodes[i].data <> nil then
|
||||
TSettingData(Nodes[i].Data).Free;
|
||||
Nodes := nil;
|
||||
|
||||
inherited;
|
||||
|
Loading…
Reference in New Issue
Block a user