]> git.sur5r.net Git - openldap/commitdiff
Remove extraneous ber_bvfree()
authorKurt Zeilenga <kurt@openldap.org>
Tue, 22 Aug 2000 02:07:32 +0000 (02:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 22 Aug 2000 02:07:32 +0000 (02:07 +0000)
servers/slapd/schema_init.c

index 023d99d0916051d5f92b0ad763c6c9a43f53ea2d..152d8d44212440e5e8a5cfce30ff5b4653bd33d7 100644 (file)
@@ -1048,7 +1048,6 @@ int caseExactIA5SubstringsFilter(
                        value->bv_val, klen );
                lutil_MD5Final( MD5digest, &MD5context );
 
-               ber_bvfree( value );
                keys[nkeys++] = ber_bvdup( &digest );
        }
 
@@ -1076,7 +1075,6 @@ int caseExactIA5SubstringsFilter(
                        &value->bv_val[value->bv_len-klen], klen );
                lutil_MD5Final( MD5digest, &MD5context );
 
-               ber_bvfree( value );
                keys[nkeys++] = ber_bvdup( &digest );
        }