mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 01:12:07 -04:00
If a message is built for one host, which isn't powered on, the tsig object
wasn't removed until the xfer object was deleted, so when the xfer tried the second master, it asserted.
This commit is contained in:
parent
2f0bfccf31
commit
1b1775921e
1 changed files with 7 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: xfrin.c,v 1.84 2000/07/21 23:00:29 bwelling Exp $ */
|
||||
/* $Id: xfrin.c,v 1.85 2000/07/24 05:30:30 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -866,6 +866,12 @@ xfrin_send_request(dns_xfrin_ctx_t *xfr) {
|
|||
|
||||
CHECK(render(msg, &xfr->qbuffer));
|
||||
|
||||
/*
|
||||
* Free the last tsig, if there is one.
|
||||
*/
|
||||
if (xfr->lasttsig != NULL)
|
||||
isc_buffer_free(&xfr->lasttsig);
|
||||
|
||||
/*
|
||||
* Save the query TSIG and don't let message_destroy free it.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue