From: Kurt Zeilenga Date: Mon, 17 Mar 2003 00:27:33 +0000 (+0000) Subject: SLAP_NVALUES: more fixes X-Git-Tag: NO_SLAP_OP_BLOCKS~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a55430c6519f113e65d7c7e6351cdf873fbcc82;p=openldap SLAP_NVALUES: more fixes --- diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index eadf4f377c..7ebb6ddb19 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -428,6 +428,7 @@ get_substring_filter( " unknown substring choice=%ld\n", (long) tag, 0, 0 ); #endif + free( value.bv_val ); goto return_error; } @@ -529,6 +530,7 @@ get_substring_filter( (long) tag, 0, 0 ); #endif + assert( 0 ); free( nvalue.bv_val ); return_error: diff --git a/servers/slapd/value.c b/servers/slapd/value.c index 82fead26c6..553c627aa8 100644 --- a/servers/slapd/value.c +++ b/servers/slapd/value.c @@ -167,6 +167,8 @@ int asserted_value_validate_normalize( } else { ber_dupbv( out, in ); } + + return LDAP_SUCCESS; } #else