summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ba7c212f7f..da0bf17720 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9048,6 +9048,8 @@ bool lp_load_ex(const char *pszFname,
init_globals(! initialize_globals);
debug_init();
+ free_file_list();
+
if (save_defaults) {
init_locals();
lp_save_defaults();