diff options
-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; |