From: Howard Chu Date: Thu, 18 Apr 2002 16:02:02 +0000 (+0000) Subject: Fix memory leak in previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_MP~168 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=202aa8c793af13b2be2800b2152ca7681a5876d3;p=openldap Fix memory leak in previous commit --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 3fc57af14a..609730a10f 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -1254,6 +1254,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv ) authid = ldap_pvt_tls_get_my_dn( ssl, NULL, 0 ); (void) ldap_int_sasl_external( ld, conn, authid, ssf ); + LDAP_FREE( authid ); } return LDAP_SUCCESS;