summaryrefslogtreecommitdiff
path: root/docview
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-09-02 08:51:48 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2015-09-02 08:51:48 +0100
commit25ece4a865b286fae12eb27fb8dc4864ff17b422 (patch)
tree04e0ba4e03d451d10edc73396eda8989e6019629 /docview
parentfdb7b18ba4d4dc0ba80bcc5e0a253e5dae36d625 (diff)
downloadfpGUI-25ece4a865b286fae12eb27fb8dc4864ff17b422.tar.xz
docview: Fixes memory leak with processing files from command line parameters
Diffstat (limited to 'docview')
-rw-r--r--docview/src/frm_main.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas
index a74b4027..27f2c51a 100644
--- a/docview/src/frm_main.pas
+++ b/docview/src/frm_main.pas
@@ -1747,6 +1747,7 @@ begin
// Now load the various parts of the file(s)
// into the user interface
DisplayFiles( tmpHelpFiles, FirstContentsNode );
+ tmpHelpFiles.Free;
//if CmdLineParameters.getHelpManagerFlag then
// ShowLeftPanel := Settings.ShowLeftPanel_Help