diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-14 08:14:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:51 -0500 |
commit | 8a24c39d76fc599874037fee8997a7cb7be996cd (patch) | |
tree | 9938090aed4bc9fbb06fbd3d2a54f21b58efd845 /source3/lib | |
parent | d94d87472ca2f3875caa146424caa178ce20274f (diff) | |
download | samba-8a24c39d76fc599874037fee8997a7cb7be996cd.tar.gz samba-8a24c39d76fc599874037fee8997a7cb7be996cd.tar.bz2 samba-8a24c39d76fc599874037fee8997a7cb7be996cd.zip |
r4731: Fix the build
(This used to be commit 340d7f317332f159460d04db8ccc75116c83d234)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/privileges.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c index eabb652c3e..f35d16f30f 100644 --- a/source3/lib/privileges.c +++ b/source3/lib/privileges.c @@ -393,10 +393,11 @@ NTSTATUS privilege_create_account(const DOM_SID *sid ) NTSTATUS privilege_set_init(PRIVILEGE_SET *priv_set) { NTSTATUS ret; + TALLOC_CTX *mem_ctx; ZERO_STRUCTP( priv_set ); - TALLOC_CTX *mem_ctx = talloc_init("privilege set"); + mem_ctx = talloc_init("privilege set"); ALLOC_CHECK(mem_ctx, ret, done, "init_privilege"); priv_set->mem_ctx = mem_ctx; |