diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-10 05:23:47 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2006-12-10 05:23:47 +0000 |
commit | 8a2eea5786767974651024b46f66165125b3b9ed (patch) | |
tree | bb4956ac0f02418f638336993af48cfbf75f75e1 /source/lib/messages.c | |
parent | 319679d31abf0229b55f33ad496043997bb4e886 (diff) | |
download | samba-8a2eea5786767974651024b46f66165125b3b9ed.tar.gz samba-8a2eea5786767974651024b46f66165125b3b9ed.tar.xz samba-8a2eea5786767974651024b46f66165125b3b9ed.zip |
r20098: Properly fix issues with create_token_from_username()
reported by James. Ensure that this function allocates
everything on the temporary context except the return
memory. Never call this with a null mem context, and
now use conn->mem_ctx instead in smbd/service.c.
Remove separate free functions for conn->ngroups
and conn->nt_user_token as they are now always
talloc'ed off the conn->mem_ctx. Future optimization
will be to remove conn->mem_ctx and make all objects
pointed to in the conn struct talloc'ed off conn itself.
Easy to free then :-).
Jeremy.
Diffstat (limited to 'source/lib/messages.c')
0 files changed, 0 insertions, 0 deletions