summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c843489596..8888c45933 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1740,6 +1740,8 @@ static void free_service(service * pservice)
pservice->copymap = NULL;
}
+ pservice->valid = False;
+
for (i = 0; parm_table[i].label; i++)
if ((parm_table[i].type == P_STRING ||
parm_table[i].type == P_USTRING) &&