UniversalDVC
UniversalDVC copied to clipboard
UDVC-Plugin leaks an event every time data is received.
At line 493 of UDVC-Plugin.cpp, an Event is being created, to be used in asynchronous I/O, when running in named pipe mode.
However, CloseHandle is never called for this Event, so this leaks an Event handle every single time that data is received!
Also, the Event is only used in Named Pipe mode, but it is always being created, even in socket mode. The event creating code should be moved to line 514, so it runs only when actually needed.