Diff for /servers/slapd/ava.c between versions 1.42 and 1.43

version 1.42, 2005/02/15 04:24:48 version 1.43, 2005/03/28 22:12:05
Line 1 Line 1
 /* ava.c - routines for dealing with attribute value assertions */  /* ava.c - routines for dealing with attribute value assertions */
 /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.41 2005/01/01 19:49:48 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.42 2005/02/15 04:24:48 slim Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2005 The OpenLDAP Foundation.   * Copyright 1998-2005 The OpenLDAP Foundation.
Line 43  ava_free( Line 43  ava_free(
         AttributeAssertion *ava,          AttributeAssertion *ava,
         int     freeit )          int     freeit )
 {  {
   #ifdef LDAP_COMP_MATCH
           if ( ava->aa_cf && ava->aa_cf->cf_ca->ca_comp_data.cd_mem_op )
                   nibble_mem_free ( ava->aa_cf->cf_ca->ca_comp_data.cd_mem_op );
   #endif
         op->o_tmpfree( ava->aa_value.bv_val, op->o_tmpmemctx );          op->o_tmpfree( ava->aa_value.bv_val, op->o_tmpmemctx );
         if ( freeit ) op->o_tmpfree( (char *) ava, op->o_tmpmemctx );          if ( freeit ) op->o_tmpfree( (char *) ava, op->o_tmpmemctx );
 }  }

Removed from v.1.42  
changed lines
  Added in v.1.43


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org