TSIG AXFR verify leaked memory when talking to a BIND 8 server.

This commit is contained in:
Brian Wellington
2000-06-23 02:07:58 +00:00
parent 0978cb57f3
commit 22057930cd

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: message.c,v 1.129 2000/06/22 21:54:30 tale Exp $ */
/* $Id: message.c,v 1.130 2000/06/23 02:07:58 bwelling Exp $ */
/***
*** Imports
@@ -440,6 +440,9 @@ msgresetsigs(dns_message_t *msg, isc_boolean_t replying) {
isc_mempool_put(msg->namepool, msg->tsigname);
msg->tsig = NULL;
msg->tsigname = NULL;
} else if (msg->querytsig != NULL) {
dns_rdataset_disassociate(msg->querytsig);
isc_mempool_put(msg->rdspool, msg->querytsig);
}
if (msg->sig0 != NULL) {
INSIST(dns_rdataset_isassociated(msg->sig0));