ITS#8434 Allow cleanup at the end of a failed back-config add

This commit is contained in:
Ondřej Kuzník 2020-06-10 13:00:33 +01:00 committed by Quanah Gibson-Mount
parent f3e0707e34
commit 57b0ed909c

View File

@ -5676,6 +5676,8 @@ done:
overlay_destroy_one( ca->be, (slap_overinst *)ca->bi );
} else if ( coptr->co_type == Cft_Schema ) {
schema_destroy_one( ca, colst, nocs, last );
} else if ( ca->cleanup ) {
ca->cleanup( ca );
}
}
done_noop: