Streamline
Streamline copied to clipboard
getSystemCaps() in sl.common leaks D3DKMT adapter handles
Streamline calls D3DKMTEnumAdapters2 and doesn't close its output handles.
According to MSDN docs:
Once the caller of D3DKMTEnumAdapters2 has successfully received an enumeration of the adapters, it is the caller's responsibility to manage the lifespan of the adapter D3DKMT_HANDLEs. These handles are returned through pAdapters, and they must be closed with D3DKMTCloseAdapter.
It's relatively benign. Still a bug nonetheless.
Thanks for report!
Fix missed upcoming release, but will be in one after.