]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/mods.c
More system schema checks
[openldap] / servers / slapd / mods.c
index 1aa87afd480c02b093e55c875725e98024265080..b2d9566c839236fe7b5bedd9696f331f3ed7bf44 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
@@ -24,8 +24,10 @@ slap_mod_free(
        int                             freeit
 )
 {
+#if 0
        if ( mod->sm_type.bv_val)
                free( mod->sm_type.bv_val );
+#endif
        if ( mod->sm_bvalues != NULL )
                bvarray_free( mod->sm_bvalues );