mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
Fix db_init
This commit is contained in:
parent
16448bf347
commit
0657ee85f5
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ auditlog_db_init(
|
|||
)
|
||||
{
|
||||
slap_overinst *on = (slap_overinst *)be->bd_info;
|
||||
auditlog_data *ad = ch_malloc(sizeof(auditlog_data));
|
||||
auditlog_data *ad = ch_calloc(1, sizeof(auditlog_data));
|
||||
|
||||
on->on_bi.bi_private = ad;
|
||||
ldap_pvt_thread_mutex_init( &ad->ad_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue