mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
afs: Use talloc_stackframe() instead of talloc_init()
Thanks to vl for pointing this out.
This commit is contained in:
parent
97768628f5
commit
76cf5a979b
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user