From: Howard Chu Date: Fri, 13 Jun 2003 19:07:00 +0000 (+0000) Subject: ITS#2587 fix telephoneNumberNormalize failure return X-Git-Tag: OPENLDAP_REL_ENG_2_1_22~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=344d793894441ffe7d4a47c5608d326615874d7a;p=thirdparty%2Fopenldap.git ITS#2587 fix telephoneNumberNormalize failure return --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index d0f9d13bfd..cd795f22a9 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1810,6 +1810,7 @@ telephoneNumberNormalize( if( normalized->bv_len == 0 ) { free( normalized->bv_val ); + normalized->bv_val = NULL; return LDAP_INVALID_SYNTAX; }