]> git.sur5r.net Git - openldap/commitdiff
give cleanup another chance to free the temporary callback (ITS#4771)
authorPierangelo Masarati <ando@openldap.org>
Thu, 7 Dec 2006 19:44:04 +0000 (19:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 7 Dec 2006 19:44:04 +0000 (19:44 +0000)
servers/slapd/connection.c

index ddaddd1a6089d9aefe7e6b7c6deb866183793cb3..86aea6ca177378301637e9ceb0d40499db942b78 100644 (file)
@@ -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;
 }