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
Loading
Please register or sign in to comment