From 0657ee85f51a20b250dc1a55916f2b2d389cff18 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 5 Jun 2006 22:31:17 +0000 Subject: [PATCH] Fix db_init --- servers/slapd/overlays/auditlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/auditlog.c b/servers/slapd/overlays/auditlog.c index 3dff229f4b..56f349bee2 100644 --- a/servers/slapd/overlays/auditlog.c +++ b/servers/slapd/overlays/auditlog.c @@ -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 ); -- 2.39.5