1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

afs: Use talloc_stackframe() instead of talloc_init()

Thanks to vl for pointing this out.
This commit is contained in:
Kai Blin 2008-01-19 12:27:31 +01:00
parent 97768628f5
commit 76cf5a979b

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;