mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
afs: Use talloc_stackframe() instead of talloc_init()
Thanks to vl for pointing this out.
(This used to be commit 76cf5a979b
)
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user