]> git.sur5r.net Git - openldap/commitdiff
fix -USLAPD_SCHEMA_NOT_COMPAT
authorKurt Zeilenga <kurt@openldap.org>
Sat, 27 May 2000 20:40:26 +0000 (20:40 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 27 May 2000 20:40:26 +0000 (20:40 +0000)
servers/slapd/filter.c

index d91f988dc9f52e3486676208a45e5ce06fc055ac..e828e2fc830461abff5aab16f24c6f0284a4fff6 100644 (file)
@@ -578,7 +578,9 @@ return_error:
                        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;
                }
        }