From: Howard Chu Date: Sat, 24 May 2003 02:06:18 +0000 (+0000) Subject: ITS#2533 backend_attribute uses tmpmemctx, must free accordingly X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=83f0acc1d80789d24091315ceef3ee5949852cff;p=openldap ITS#2533 backend_attribute uses tmpmemctx, must free accordingly --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index e8e8ac7087..77da7cdd58 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -521,7 +521,7 @@ slap_sasl_check_authz( Connection *conn, rc = LDAP_INAPPROPRIATE_AUTH; COMPLETE: - if( vals ) ber_bvarray_free( vals ); + if( vals ) ber_bvarray_free_x( vals, conn->c_sasl_bindop->o_tmpmemctx ); #ifdef NEW_LOGGING LDAP_LOG( TRANSPORT, RESULTS,