summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/privileges.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 37695b42b4..5a5afa4d72 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -230,8 +230,8 @@ static BOOL get_privileges( const DOM_SID *sid, SE_PRIV *mask )
SMB_ASSERT( data.dsize == sizeof( SE_PRIV ) );
se_priv_copy( mask, (SE_PRIV*)data.dptr );
-
-
+ SAFE_FREE(data.dptr);
+
return True;
}