]> git.sur5r.net Git - openldap/commitdiff
Plug config leak
authorHoward Chu <hyc@openldap.org>
Mon, 21 Aug 2006 04:11:29 +0000 (04:11 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 21 Aug 2006 04:11:29 +0000 (04:11 +0000)
servers/slapd/overlays/accesslog.c

index 16400140d6c58aec71fe03cd03ee193d48c74efc..ecf01b033145d6ddc37ce8e6a4b7f1581539a7e0 100644 (file)
@@ -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 );