summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 022046ceb2..50f9a7dc81 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -208,7 +208,7 @@ struct cli_state *cli_initialise(struct cli_state *cli)
if (!cli->outbuf || !cli->inbuf)
goto error;
- if ((cli->mem_ctx = talloc_init()) == NULL)
+ if ((cli->mem_ctx = talloc_init_named("cli based talloc")) == NULL)
goto error;
memset(cli->outbuf, 0, cli->bufsize);