diff options
Diffstat (limited to 'source4/utils/testparm.c')
-rw-r--r-- | source4/utils/testparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c index b9e6bc0595..381d2b3b59 100644 --- a/source4/utils/testparm.c +++ b/source4/utils/testparm.c @@ -239,7 +239,7 @@ static int do_share_checks(struct loadparm_context *lp_ctx, const char *cname, c fprintf(stderr, "Loaded smb config files from %s\n", lp_configfile(global_loadparm)); - if (!lp_load(lp_configfile(global_loadparm), &lp_ctx)) { + if (!lp_load(talloc_autofree_context(), lp_configfile(global_loadparm), &lp_ctx)) { fprintf(stderr,"Error loading services.\n"); return(1); } |