s3: Attempt to fix bug 7665
authorVolker Lendecke <vl@samba.org>
Sat, 2 Oct 2010 09:50:26 +0000 (11:50 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 2 Oct 2010 10:02:02 +0000 (12:02 +0200)
commit13756d0e803c228f7ff75ba996acd6afd1df0dcb
tree451805eabad52144e81a34bb6ea803ed23973044
parentfc6e910e69f49cd482966eb9af3f27c0b65bcf4b
s3: Attempt to fix bug 7665

Quite a few of our internal routines put stuff on talloc_tos() these days.
In top-level netapi routines, properly allocate a stackframe and clean it
again. Also, don't leak memory in the rpccli_ callers onto the libnetapi
context.
source3/lib/netapi/file.c
source3/lib/netapi/getdc.c
source3/lib/netapi/group.c
source3/lib/netapi/joindomain.c
source3/lib/netapi/libnetapi.c
source3/lib/netapi/localgroup.c
source3/lib/netapi/netlogon.c
source3/lib/netapi/serverinfo.c
source3/lib/netapi/share.c
source3/lib/netapi/shutdown.c
source3/lib/netapi/user.c