Commit 0657ee85 authored by Howard Chu's avatar Howard Chu
Browse files

Fix db_init

parent 16448bf3
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment