Skip to content
Snippets Groups Projects
Commit c76d880a authored by Samuel Thibault's avatar Samuel Thibault
Browse files

udp: Make cleanup loop clearer

382bff02 ("Fix possible infinite loops and use-after-free") rewrote
the loop to make it cleaner that we go through items, but was always
detaching the first elements, which happens to be right, but less
clear than detaching the element being processed.

Fixes #32

Reported-by: Peter Maydell
parent ceb6fb6d
No related branches found
No related tags found
No related merge requests found
Pipeline #1163377 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment