summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-02-21 11:21:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:42 -0500
commit0b451e5cab1ff361de255b53bfc968ac175e3420 (patch)
tree2db8c33c9fbcc67432140356198308e68f473394
parentf17c4ad8aed64484d448a8c9bcb8c91e4bf13146 (diff)
downloadsamba-0b451e5cab1ff361de255b53bfc968ac175e3420.tar.gz
samba-0b451e5cab1ff361de255b53bfc968ac175e3420.tar.bz2
samba-0b451e5cab1ff361de255b53bfc968ac175e3420.zip
r5484: Fix a memleak
(This used to be commit 7b9cb0601ce465361618fcc2c88f8195d93f130a)
-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;
}