]> git.sur5r.net Git - openldap/commitdiff
Fix TL malloc/free
authorHoward Chu <hyc@openldap.org>
Wed, 28 May 2003 22:15:44 +0000 (22:15 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 28 May 2003 22:15:44 +0000 (22:15 +0000)
servers/slapd/dn.c

index 3930ea666b18abed239692fbf81ea66b8e231a22..f147f518ab0b95ff8d73847e6881fc41b538fcde 100644 (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;
                }