From 0aa7c83a0e347f81de891873303d791f9eee1f0e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 18 Apr 2002 15:55:05 +0000 Subject: [PATCH] Fix memory leak in previous commit --- servers/slapd/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 5cb8f524aa..50fba1a220 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1203,6 +1203,7 @@ int connection_read(ber_socket_t s) authid = dnX509peerNormalize( ssl ); slap_sasl_external( c, c->c_tls_ssf, authid ); + if ( authid ) free( authid ); } connection_return( c ); ldap_pvt_thread_mutex_unlock( &connections_mutex ); -- 2.39.5