]> git.sur5r.net Git - openldap/commitdiff
ITS#2587 fix failure return from telephoneNumberNormalize
authorHoward Chu <hyc@openldap.org>
Fri, 13 Jun 2003 17:28:45 +0000 (17:28 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Jun 2003 17:28:45 +0000 (17:28 +0000)
servers/slapd/schema_init.c

index 8dd5c05129b7c39814d5a2d35fbce89144236a85..732b706d7bd5c410ee62941e330f49255282cc5d 100644 (file)
@@ -1291,6 +1291,7 @@ telephoneNumberNormalize(
 
        if( normalized->bv_len == 0 ) {
                sl_free( normalized->bv_val, ctx );
+               normalized->bv_val = NULL;
                return LDAP_INVALID_SYNTAX;
        }