Fixed memory leak
This commit is contained in:
parent
261b762572
commit
81c8e0c07e
|
@ -87,6 +87,7 @@ begin
|
|||
WriteLn('--- Day 1: Trebuchet?! ---');
|
||||
trebuchet := TTrebuchet.Create;
|
||||
trebuchet.RunSolution;
|
||||
trebuchet.Free;
|
||||
end;
|
||||
|
||||
constructor TTrebuchet.Create;
|
||||
|
|
Loading…
Reference in New Issue