}
#ifdef SLAPD_SCHEMA_NOT_COMPAT
- f->f_sub = ch_calloc( 1, sizeof(SubstringAssertion) );
+ f->f_sub = ch_calloc( 1, sizeof(SubstringsAssertion) );
f->f_sub_desc = NULL;
rc = slap_bv2ad( &type, &f->f_sub_desc, text );
ber_bvfree( f->f_sub_initial );
ber_bvecfree( f->f_sub_any );
ber_bvfree( f->f_sub_final );
+#ifdef SLAPD_SCHEMA_NOT_COMPAT
ch_free( f->f_sub );
+#endif
return rc;
}
}