]> git.sur5r.net Git - openldap/commitdiff
ITS#2533 backend_attribute uses tmpmemctx, must free accordingly
authorHoward Chu <hyc@openldap.org>
Sat, 24 May 2003 02:06:18 +0000 (02:06 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 May 2003 02:06:18 +0000 (02:06 +0000)
servers/slapd/saslauthz.c

index e8e8ac70870d54dd6e84a518e8a0c744673ef6f9..77da7cdd587b63721fd225144685b0767588797c 100644 (file)
@@ -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,