Fix TL malloc/free

This commit is contained in:
Howard Chu 2003-05-28 22:15:44 +00:00
parent 476e1958b6
commit ac908e15e8

View file

@ -374,7 +374,7 @@ dnNormalize(
* Schema-aware rewrite
*/
if ( LDAPDN_rewrite( dn, 0, ctx ) != LDAP_SUCCESS ) {
ldap_dnfree( dn );
ldap_dnfree_x( dn, ctx );
return LDAP_INVALID_SYNTAX;
}