summaryrefslogtreecommitdiff
path: root/examples/gui/modalforms/modalforms.lpr
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/modalforms/modalforms.lpr')
-rw-r--r--examples/gui/modalforms/modalforms.lpr1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/gui/modalforms/modalforms.lpr b/examples/gui/modalforms/modalforms.lpr
index c3faeaf3..91b1b840 100644
--- a/examples/gui/modalforms/modalforms.lpr
+++ b/examples/gui/modalforms/modalforms.lpr
@@ -157,6 +157,7 @@ begin
frm := TMainForm.Create(nil);
frm.Show;
fpgApplication.Run;
+ frm.Free;
end;
begin