--- servers/slapd/ava.c 2004/04/08 04:49:17 1.38 +++ servers/slapd/ava.c 2004/05/19 17:39:40 1.39 @@ -1,5 +1,5 @@ /* ava.c - routines for dealing with attribute value assertions */ -/* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.37 2004/01/01 18:15:30 kurt Exp $ */ +/* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.38 2004/04/08 04:49:17 kurt Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2004 The OpenLDAP Foundation. @@ -38,13 +38,10 @@ void ava_free( Operation *op, AttributeAssertion *ava, - int freeit -) + int freeit ) { 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 ); } int @@ -107,6 +104,5 @@ get_ava( } *ava = aa; - return LDAP_SUCCESS; }