Commit 1403f479 authored by Mark Andrews's avatar Mark Andrews

don't match on heap ids

parent bac180fc
Pipeline #14465 passed with stages
in 2 minutes and 24 seconds
......@@ -1416,7 +1416,7 @@ freeitem(struct workitem * item) {
if (LINKED(item, seqlink))
UNLINK(seq[item->id], item, seqlink);
if (item->onheap)
exit(1);
abort();
free(item);
}
......@@ -3875,7 +3875,7 @@ udpread(int fd, int port) {
item = NEXT(item, idlink);
/* Late response? */
if (item == NULL)
if (item == NULL || item->onheap)
return;
process(item, buf, n, port);
......
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