From: Howard Chu Date: Mon, 8 Oct 2007 06:19:50 +0000 (+0000) Subject: Check for cleanup on Adds, not just Modifies X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~539 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec7a05adff6950aa58f8872d6819a99f9d66ee65;p=openldap Check for cleanup on Adds, not just Modifies --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 64894df73a..0cf122727f 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -4313,6 +4313,8 @@ ok: rc = ca->bi->bi_db_open( ca->be, &ca->reply ); ca->be->bd_info = bi_orig; } + } else if ( ca->cleanup ) { + rc = ca->cleanup( ca ); } if ( rc ) { if (ca->cr_msg[0] == '\0')