From: Howard Chu Date: Fri, 13 Jun 2003 17:28:45 +0000 (+0000) Subject: ITS#2587 fix failure return from telephoneNumberNormalize X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~883 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a505d0c1fa8b3cadfa25241c83f9116d56b423da;p=openldap ITS#2587 fix failure return from telephoneNumberNormalize --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 8dd5c05129..732b706d7b 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1291,6 +1291,7 @@ telephoneNumberNormalize( if( normalized->bv_len == 0 ) { sl_free( normalized->bv_val, ctx ); + normalized->bv_val = NULL; return LDAP_INVALID_SYNTAX; }