diff options
Diffstat (limited to 'source4/client/smbmount.c')
-rw-r--r-- | source4/client/smbmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 36271c9a2e..b32bcf5b68 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -897,7 +897,7 @@ static void parse_mount_smb(int argc, char **argv) pstrcpy(username,getenv("LOGNAME")); } - if (!lp_load(dyn_CONFIGFILE, &lp_ctx)) { + if (!lp_load(talloc_autofree_context(), dyn_CONFIGFILE, &lp_ctx)) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", lp_config_file()); } |