mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix previous commit (check for co_type==Cft_Overlay before calling
overlay_destroy_one)
This commit is contained in:
parent
7027609818
commit
54fa643a9b
@ -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 New Issue
Block a user