mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
the message->cleanup list was being improperly cleaned
This commit is contained in:
@@ -443,7 +443,7 @@ msgreset(dns_message_t *msg, isc_boolean_t everything)
|
||||
dynbuf = ISC_LIST_HEAD(msg->cleanup);
|
||||
while (dynbuf != NULL) {
|
||||
next_dynbuf = ISC_LIST_NEXT(dynbuf, link);
|
||||
ISC_LIST_UNLINK(msg->scratchpad, dynbuf, link);
|
||||
ISC_LIST_UNLINK(msg->cleanup, dynbuf, link);
|
||||
isc_buffer_free(&dynbuf);
|
||||
dynbuf = next_dynbuf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user