git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c10ff
)
r4731: Fix the build
author
Volker Lendecke
<vlendec@samba.org>
Fri, 14 Jan 2005 08:14:22 +0000
(08:14 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:51 +0000
(10:53 -0500)
source/lib/privileges.c
patch
|
blob
|
history
diff --git
a/source/lib/privileges.c
b/source/lib/privileges.c
index eabb652c3eb37eacec553a6d2ccedc72f574775d..f35d16f30f4777cd3a83531ae24137479d3c33b0 100644
(file)
--- a/
source/lib/privileges.c
+++ b/
source/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;