git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0baca66
)
Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog list"
author
Jeremy Allison
<jra@samba.org>
Tue, 11 Nov 2008 22:38:59 +0000
(14:38 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 11 Nov 2008 22:38:59 +0000
(14:38 -0800)
Don't mix TALLOC and SAFE_FREE().
Jeremy.
source3/rpc_server/srv_eventlog_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_eventlog_nt.c
b/source3/rpc_server/srv_eventlog_nt.c
index 3c7469f3ef70f165da13a5e00f6378469558e719..eec5b1d736be965ca61e4f60856069c801bd980c 100644
(file)
--- 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",