]> git.sur5r.net Git - openldap/commitdiff
Fix memory leak in previous commit
authorHoward Chu <hyc@openldap.org>
Thu, 18 Apr 2002 16:02:02 +0000 (16:02 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 18 Apr 2002 16:02:02 +0000 (16:02 +0000)
libraries/libldap/tls.c

index 3fc57af14af08c6d0af18172e35e50374ecf8f62..609730a10f84a70e4eea6889271c5705e8a56bf3 100644 (file)
@@ -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;