mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-04-20 22:16:57 -04:00
ITS#10482 slapo-accesslog: do not leak entryUUID
This commit is contained in:
parent
dc482fab87
commit
5c4e7f2f1a
1 changed files with 4 additions and 0 deletions
|
|
@ -2170,6 +2170,10 @@ done:
|
|||
return SLAP_CB_CONTINUE;
|
||||
|
||||
skip:
|
||||
if ( !BER_BVISNULL( &li->li_uuid ) ) {
|
||||
ber_memfree( li->li_uuid.bv_val );
|
||||
BER_BVZERO( &li->li_uuid );
|
||||
}
|
||||
if ( lo->mask & LOG_OP_WRITES ) {
|
||||
/* We haven't transitioned to li_log_mutex yet */
|
||||
ldap_pvt_thread_mutex_unlock( &li->li_op_rmutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue