mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
fix previous commit (check for co_type==Cft_Overlay before calling
overlay_destroy_one)
This commit is contained in:
parent
7027609818
commit
54fa643a9b
1 changed files with 1 additions and 1 deletions
|
|
@ -3201,7 +3201,7 @@ leave:
|
|||
if ( rc ) {
|
||||
if ( (colst[0]->co_type == Cft_Database) && ca->be ) {
|
||||
backend_destroy_one( ca->be );
|
||||
} else if ( (colst[0]->co_type == Cft_Database) && ca->bi ) {
|
||||
} else if ( (colst[0]->co_type == Cft_Overlay) && ca->bi ) {
|
||||
overlay_destroy_one( ca->be, (slap_overinst *)ca->bi );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue