Calling IUPnPDescriptionDocument::Load on Windows Vista causes a handle leak.


When you call the IUPnPDescriptionDocument::Load method on Windows Vista, a handle leak occurs. A leaked handle is not released until the process exits.


On Windows Vista, two event handles that are allocated by the IUPnPDescriptionDocument::Load method are not released by the IUPnPDescriptionDocument object.

As a result, every time this method is called, the two handles are left without being released, leading to a handle leak.


Exit your process periodically or use any other Windows OS than Windows Vista.