mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Fix error handling wrt. its callers
This commit is contained in:
parent
ee288cfc2d
commit
37a474b508
1 changed files with 1 additions and 2 deletions
|
|
@ -517,7 +517,7 @@ request_abandon( Connection *c, Operation *op )
|
|||
{
|
||||
Operation *request, needle = { .o_client = c };
|
||||
ber_tag_t tag;
|
||||
int rc = -1;
|
||||
int rc = LDAP_SUCCESS;
|
||||
|
||||
tag = ber_get_int( op->o_ber, &needle.o_client_msgid );
|
||||
if ( tag != LDAP_REQ_ABANDON ) {
|
||||
|
|
@ -535,7 +535,6 @@ request_abandon( Connection *c, Operation *op )
|
|||
operation_abandon( request );
|
||||
CONNECTION_LOCK_DECREF(c);
|
||||
|
||||
rc = LDAP_SUCCESS;
|
||||
done:
|
||||
operation_destroy_from_client( op );
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue