17 lines
513 B
Diff
17 lines
513 B
Diff
|
--- openldap-2.3.11/libraries/libldap/cyrus.c.ads 2005-10-05 13:42:19.000000000 -0400
|
||
|
+++ openldap-2.3.11/libraries/libldap/cyrus.c 2005-11-10 13:08:04.000000000 -0500
|
||
|
@@ -734,10 +734,11 @@
|
||
|
Debug( LDAP_DEBUG_TRACE,
|
||
|
"ldap_int_sasl_bind: rc=%d sasl=%d len=%ld\n",
|
||
|
rc, saslrc, scred->bv_len );
|
||
|
+ ber_bvfree( scred );
|
||
|
+ rc = ld->ld_errno = LDAP_LOCAL_ERROR;
|
||
|
+ goto done;
|
||
|
}
|
||
|
ber_bvfree( scred );
|
||
|
- rc = ld->ld_errno = LDAP_LOCAL_ERROR;
|
||
|
- goto done;
|
||
|
}
|
||
|
break;
|
||
|
}
|