From 9fdb9b6e02bd7bd3b605a0322e0ede3a2ceabc3e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 7 Dec 2006 19:44:04 +0000 Subject: [PATCH] give cleanup another chance to free the temporary callback (ITS#4771) --- servers/slapd/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index ddaddd1a60..86aea6ca17 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1751,6 +1751,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; } -- 2.39.5