https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128719
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- (In reply to Jerry DeLisle from comment #2) > Confirmed: LeakSanitizer shows 303 leaked allocations on trunk and 3 with > the patch. The extra unlock I confirmed by reading the code. The test > doesn't show the bug unless LSan is enabled. I pasted that in the wrong PR. Wrong behavior on valid code. The comparison in async_wait_id is off by one, and the author's test fails on trunk in 3 out of 3 runs.
