-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Milestone
Description
System Information
OpenCV version: 4.x && 5.x
Operating System / Platform: Win32
Detailed description
After getting the device name, VariantClear was not used to clearn varName.
// opencv/modules/videoio/src/cap_dshow.cpp
int videoInput::listDevices(bool silent) {
// ...
VARIANT varName;
VariantInit(&varName); // not using VariantClear
// ...
}
Steps to reproduce
None
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable