[Bug 51778] ws2_32:sock crashes due to a double free