Commit 069104dd authored by Brian Wellington's avatar Brian Wellington
Browse files

the message->cleanup list was being improperly cleaned

parent 22fe53a6
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment