From 25ece4a865b286fae12eb27fb8dc4864ff17b422 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Wed, 2 Sep 2015 08:51:48 +0100 Subject: docview: Fixes memory leak with processing files from command line parameters --- docview/src/frm_main.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'docview/src') 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 -- cgit v1.2.3-70-g09d2