diff options
author | Kai Blin <kai@samba.org> | 2008-01-19 12:27:31 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-01-19 13:17:09 +0100 |
commit | 398c323f7544e815cfeb2b750f9ff28061c294f3 (patch) | |
tree | eebe7ef83fff1958b697631f63a672d6b889f260 /source3 | |
parent | b133f5ac0abaa7afb7ddf67d1916a0247cf91a5c (diff) | |
download | samba-398c323f7544e815cfeb2b750f9ff28061c294f3.tar.gz samba-398c323f7544e815cfeb2b750f9ff28061c294f3.tar.bz2 samba-398c323f7544e815cfeb2b750f9ff28061c294f3.zip |
afs: Use talloc_stackframe() instead of talloc_init()
Thanks to vl for pointing this out.
(This used to be commit 76cf5a979bf3014b1de660520e538546b3676b23)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/afs.c | 2 |
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; |