https://bugs.winehq.org/show_bug.cgi?id=52322
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 71601 --> https://bugs.winehq.org/attachment.cgi?id=71601 ntoskrnl: Free memory before pointer gets set to NULL.
Freeing memory in winedevice.exe: For some reason in dispatch_volume context->in_buff is set to NULL. By that the memory seems to get never freed. This patch attempts to release the memory before the pointer is set to NULL.
But I am not sure if this could be the right place or the right way to do this.