summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-14 08:14:22 +0000
committerVolker Lendecke <vlendec@samba.org>2005-01-14 08:14:22 +0000
commit97f3f8d0b23a9b8e4c2345dc5819f7089c084c3d (patch)
treede88f316ea7ba49640f0c60f51e8ab18e7464991 /source/lib
parentff45d32927c5e3f0faddb664a24b27df1b70ede1 (diff)
downloadsamba-97f3f8d0b23a9b8e4c2345dc5819f7089c084c3d.tar.gz
samba-97f3f8d0b23a9b8e4c2345dc5819f7089c084c3d.tar.xz
samba-97f3f8d0b23a9b8e4c2345dc5819f7089c084c3d.zip
r4731: Fix the build
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/privileges.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/privileges.c b/source/lib/privileges.c
index eabb652c3eb..f35d16f30f4 100644
--- 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;