From: Howard Chu Date: Wed, 28 May 2003 22:15:44 +0000 (+0000) Subject: Fix TL malloc/free X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac908e15e819233f7e45a016a71110dd1a0739a1;p=openldap Fix TL malloc/free --- diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 3930ea666b..f147f518ab 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -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; }