From 83f0acc1d80789d24091315ceef3ee5949852cff Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 24 May 2003 02:06:18 +0000 Subject: [PATCH] ITS#2533 backend_attribute uses tmpmemctx, must free accordingly --- servers/slapd/saslauthz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5