From dc655d7d99e5edeebd268670984a4b68c53727e8 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Wed, 13 Dec 2006 16:58:10 +0000 Subject: [PATCH] ITS#4771 from HEAD - plug memleak --- servers/slapd/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 9dd435d8ee..b306f03667 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1755,6 +1755,9 @@ static int connection_bind_cleanup_cb( Operation *op, SlapReply *rs ) { op->o_conn->c_sasl_bindop = NULL; + ch_free( op->o_callback ); + op->o_callback = NULL; + return SLAP_CB_CONTINUE; } -- GitLab