From 6091d74863e5a4889f6c17ee643a7bda7f64a7fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Mon, 23 Sep 2019 17:27:18 +0100 Subject: [PATCH] ITS#9081 Do not leak sb (ITS#8755 regression) --- libraries/libldap/unbind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libldap/unbind.c b/libraries/libldap/unbind.c index b1597cb03d..08354ce7e3 100644 --- a/libraries/libldap/unbind.c +++ b/libraries/libldap/unbind.c @@ -134,6 +134,7 @@ ldap_ld_free( /* Should already be closed by ldap_free_connection which knows not to free * this one */ ber_int_sb_destroy( ld->ld_sb ); + LBER_FREE( ld->ld_sb ); LDAP_MUTEX_LOCK( &ld->ld_ldopts_mutex ); -- 2.47.2