1
0
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:
Gerald Carter
2005-07-04 13:19:05 +00:00
committed by Gerald (Jerry) Carter
parent 79d03b1919
commit 4a8068ce63

View File

@@ -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