Skip to content

UDVC-Plugin leaks an event every time data is received. #9

@BlinD-HuNTeR

Description

@BlinD-HuNTeR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions