From 81c8e0c07e94e047dd02d1a11ae1bfabd0aec040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Sat, 2 Dec 2023 17:46:02 +0100 Subject: [PATCH] Fixed memory leak --- puzzles/utrebuchet.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/puzzles/utrebuchet.pas b/puzzles/utrebuchet.pas index 27e9fe0..7bbbaeb 100644 --- a/puzzles/utrebuchet.pas +++ b/puzzles/utrebuchet.pas @@ -87,6 +87,7 @@ begin WriteLn('--- Day 1: Trebuchet?! ---'); trebuchet := TTrebuchet.Create; trebuchet.RunSolution; + trebuchet.Free; end; constructor TTrebuchet.Create;