]> git.sur5r.net Git - openldap/commitdiff
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 7 Jul 2009 22:30:28 +0000 (22:30 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 7 Jul 2009 22:30:28 +0000 (22:30 +0000)
servers/slapd/result.c

index 3ce9e29bd9820b2b3f5fc1c6c68b7a9bc3dd0361..08b05e5caf4cef8752c379652539eb364e3beeab 100644 (file)
@@ -616,6 +616,7 @@ send_ldap_disconnect( Operation     *op, SlapReply *rs )
        assert( LDAP_UNSOLICITED_ERROR( rs->sr_err ) );
 
        rs->sr_type = REP_EXTENDED;
+       rs->sr_rspdata = NULL;
 
        Debug( LDAP_DEBUG_TRACE,
                "send_ldap_disconnect %d:%s\n",