summaryrefslogtreecommitdiff
path: root/source3/lib/privileges.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-03-08 09:52:17 +0000
committerSimo Sorce <idra@samba.org>2004-03-08 09:52:17 +0000
commit9c15b5b0ec08bd13a7f3e888482165207926e7f9 (patch)
treef1d4cf6d9869b52c6015e862adc42b28b0f5844e /source3/lib/privileges.c
parentcd1be774adc1a2509d93e65e48088b5351c99a13 (diff)
downloadsamba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.tar.gz
samba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.tar.bz2
samba-9c15b5b0ec08bd13a7f3e888482165207926e7f9.zip
2 fixes to enhance readability of source code and debug messages
1 fix for a memleak (This used to be commit 9f3b0295fe7bd6c0c3a6061e5d00e7b88f702b21)
Diffstat (limited to 'source3/lib/privileges.c')
-rw-r--r--source3/lib/privileges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 4bcf5e3b36..a3b85372c7 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -372,7 +372,7 @@ NTSTATUS dup_priv_set(PRIVILEGE_SET *new_priv_set, PRIVILEGE_SET *priv_set)
LUID_ATTR *old_set;
int i;
- if (!new_priv_set || !priv_set)
+ if (new_priv_set == NULL || priv_set == NULL)
return NT_STATUS_INVALID_PARAMETER;
/* special case if there are no privileges in the list */