1
0
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:
Kai Blin
2008-01-19 12:27:31 +01:00
parent b133f5ac0a
commit 398c323f75

View File

@ -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;