summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-11 14:38:59 -0800
committerJeremy Allison <jra@samba.org>2008-11-11 14:38:59 -0800
commitc62427c7fc7fd9c2c33faa25e931d4583bea905a (patch)
tree6defe0f82b3d98db600e1ac0b82af32270678b88
parent0baca66589d72acf7b3d6edf7c7d21fa17f98915 (diff)
downloadsamba-c62427c7fc7fd9c2c33faa25e931d4583bea905a.tar.gz
samba-c62427c7fc7fd9c2c33faa25e931d4583bea905a.tar.bz2
samba-c62427c7fc7fd9c2c33faa25e931d4583bea905a.zip
Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog list"
Don't mix TALLOC and SAFE_FREE(). Jeremy.
-rw-r--r--source3/rpc_server/srv_eventlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c
index 3c7469f3ef..eec5b1d736 100644
--- a/source3/rpc_server/srv_eventlog_nt.c
+++ b/source3/rpc_server/srv_eventlog_nt.c
@@ -79,7 +79,7 @@ static bool elog_check_access( EVENTLOG_INFO *info, NT_USER_TOKEN *token )
/* get the security descriptor for the file */
sec_desc = get_nt_acl_no_snum( info, tdbname );
- SAFE_FREE( tdbname );
+ TALLOC_FREE( tdbname );
if ( !sec_desc ) {
DEBUG(5,("elog_check_access: Unable to get NT ACL for %s\n",