https://bugs.winehq.org/show_bug.cgi?id=52322
--- Comment #6 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 71602 --> https://bugs.winehq.org/attachment.cgi?id=71602 server: Close handle of the previous device close request.
Releasing the handle used for the IRP_MJ_CLOSE roundtrip. Otherwise the handle is not used anymore as far as I see, but winedevice.exe gets accounted for it.
But the same here, I am not sure if this is the expected way or place to release that handle.
At least with both patches applied, memory and handle counter stays low while running the first attached test program.