]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_init.c
More for ITS#6045: clear o_callback as well.
[openldap] / servers / slapd / schema_init.c
index 8e0dac28f68a307faf07632f15e6c0b492bf2b2f..85c62249df2d1b343c86de464ee3ec6174470023 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -2814,6 +2814,7 @@ UUIDNormalize(
 
                } else {
                        slap_sl_free( normalized->bv_val, ctx );
+                       BER_BVZERO( normalized );
                        return LDAP_INVALID_SYNTAX;
                }