mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:22:08 -04:00
the message->cleanup list was being improperly cleaned
This commit is contained in:
parent
22fe53a629
commit
069104dd6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue