From 282c00c349690ae4275930bc3ec5a5d6dce48e91 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 21 Aug 2006 04:11:29 +0000 Subject: [PATCH] Plug config leak --- servers/slapd/overlays/accesslog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 16400140d6..ecf01b0331 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1428,6 +1428,8 @@ accesslog_db_destroy( slap_overinst *on = (slap_overinst *)be->bd_info; log_info *li = on->on_bi.bi_private; + if ( li->li_oldf ) + filter_free( li->li_oldf ); ldap_pvt_thread_mutex_destroy( &li->li_log_mutex ); ldap_pvt_thread_rmutex_destroy( &li->li_op_rmutex ); free( li ); -- 2.39.5