summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/afs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/afs.c b/source3/lib/afs.c
index b3d590bf24..9f5d81f442 100644
--- a/source3/lib/afs.c
+++ b/source3/lib/afs.c
@@ -48,7 +48,7 @@ static char *afs_encode_token(const char *cell, const DATA_BLOB ticket,
char *base64_key;
TALLOC_CTX *mem_ctx;
- mem_ctx = talloc_init("afs_encode_token");
+ mem_ctx = talloc_stackframe();
if (mem_ctx == NULL)
goto done;