diff options
author | Jeremy Allison <jra@samba.org> | 2010-10-21 12:50:33 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-10-22 17:33:03 +0000 |
commit | 3e79cd6856e5c76cc39ad2be68b40534a524cecd (patch) | |
tree | 4f1a94135393945ee94fe197510724dd932e2fca | |
parent | 2a001381e88b18b8612cdc2a40d9ea3c825548ea (diff) | |
download | samba-3e79cd6856e5c76cc39ad2be68b40534a524cecd.tar.gz samba-3e79cd6856e5c76cc39ad2be68b40534a524cecd.tar.bz2 samba-3e79cd6856e5c76cc39ad2be68b40534a524cecd.zip |
Fix const warning. Allocate off NULL as we always talloc_free().
-rw-r--r-- | libcli/security/access_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/access_check.c b/libcli/security/access_check.c index b0d4f4a1a7..c5f89af32a 100644 --- a/libcli/security/access_check.c +++ b/libcli/security/access_check.c @@ -285,7 +285,7 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd, uint32_t bits_remaining; struct object_tree *node; const struct GUID *type; - struct dom_sid *ps_sid = dom_sid_parse_talloc(sd, SID_NT_SELF); + struct dom_sid *ps_sid = dom_sid_parse_talloc(NULL, SID_NT_SELF); *access_granted = access_desired; bits_remaining = access_desired; |