In src/xcb_io.c, _XReply() may free(current), but current is later accessed unconditionally. I'm attaching a patch which seems to work, but I'm not sure whether it's correct.
Created attachment 7896 [details] [review] Patch
Good catch. Your patch seems fine to me, so I've pushed it. Thanks for the report!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.