mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7537 release entry on failure
This commit is contained in:
parent
62813f55af
commit
572ad2b037
@ -576,6 +576,12 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
defaultpol:
|
defaultpol:
|
||||||
|
if ( pe ) {
|
||||||
|
op->o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||||
|
be_entry_release_r( op, pe );
|
||||||
|
op->o_bd->bd_info = (BackendInfo *)on;
|
||||||
|
}
|
||||||
|
|
||||||
Debug( LDAP_DEBUG_TRACE,
|
Debug( LDAP_DEBUG_TRACE,
|
||||||
"ppolicy_get: using default policy\n", 0, 0, 0 );
|
"ppolicy_get: using default policy\n", 0, 0, 0 );
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user