]> git.sur5r.net Git - openldap/commitdiff
cleanup sr_ref
authorPierangelo Masarati <ando@openldap.org>
Fri, 8 Apr 2005 21:38:38 +0000 (21:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 8 Apr 2005 21:38:38 +0000 (21:38 +0000)
servers/slapd/back-dnssrv/referral.c

index 77cd3fcc3f159e849af0b6d2d1677dfa0f439f01..6a3abcd69d2674619bc6c48ea2d721efaa56cb2f 100644 (file)
@@ -117,6 +117,7 @@ dnssrv_back_referrals(
        rs->sr_ref = urls;
        send_ldap_error( op, rs, LDAP_REFERRAL,
                "DNS SRV generated referrals" );
+       rs->sr_ref = NULL;
 
 done:
        if( domain != NULL ) ch_free( domain );