s3: Attempt to fix bug 7665
authorVolker Lendecke <vl@samba.org>
Sat, 2 Oct 2010 09:50:26 +0000 (11:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 11 Nov 2010 11:02:26 +0000 (12:02 +0100)
commitc4421a287c7e613c0c8da188a6ae8db37e90c8fc
tree8e34e87b96337158b053d85ebd1a55e913061bbb
parent8e46bff8b88103f4a5b0d3920ab6e3901decaf22
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