]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/mods.c
More system schema checks
[openldap] / servers / slapd / mods.c
index d9b88aca1c42df97fead7a20a5408a95a225b0b8..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,6 +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 );