summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline/popt_credentials.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/cmdline/popt_credentials.c')
-rw-r--r--source4/lib/cmdline/popt_credentials.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index 4b4088af7f6..c06b8c73a8d 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -48,8 +48,7 @@ static void popt_common_credentials_callback(poptContext con,
const char *arg, const void *data)
{
if (reason == POPT_CALLBACK_REASON_PRE) {
- popt_set_cmdline_credentials(
- cli_credentials_init(talloc_autofree_context()));
+ popt_set_cmdline_credentials(cli_credentials_init(NULL));
return;
}