1
0
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:
Raymond 2010-01-10 15:38:38 +00:00
parent c387bbde93
commit c2957dd275

View File

@ -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;