mirror of
https://github.com/samba-team/samba.git
synced 2025-11-12 04:23:49 +03:00
r8141: Update volker's valgrind fix in r8097. Same effect, just helps me
to remember what is going on here better.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
79d03b1919
commit
4a8068ce63
@@ -539,6 +539,9 @@ BOOL grant_privilege(const DOM_SID *sid, const SE_PRIV *priv_mask)
|
||||
{
|
||||
SE_PRIV old_mask, new_mask;
|
||||
|
||||
ZERO_STRUCT( old_mask );
|
||||
ZERO_STRUCT( new_mask );
|
||||
|
||||
if ( get_privileges( sid, &old_mask ) )
|
||||
se_priv_copy( &new_mask, &old_mask );
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user