summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f02607f875..05eece72b0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8716,6 +8716,7 @@ bool lp_load(const char *pszFname,
config_backend = CONFIG_BACKEND_REGISTRY;
/* start over */
init_globals(false);
+ lp_kill_all_services();
return lp_load(pszFname, global_only, save_defaults,
add_ipc, initialize_globals);
}