mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #26045 from asmorkalov:as/variant-free
Free Variant variable after usage in DShow back-end
This commit is contained in:
commit
a087a9c47a
@ -1398,6 +1398,8 @@ int videoInput::listDevices(bool silent){
|
|||||||
if(!silent) DebugPrintOut("SETUP: %i) %s\n",deviceCounter, deviceNames[deviceCounter]);
|
if(!silent) DebugPrintOut("SETUP: %i) %s\n",deviceCounter, deviceNames[deviceCounter]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VariantClear(&varName);
|
||||||
|
|
||||||
pPropBag->Release();
|
pPropBag->Release();
|
||||||
pPropBag = NULL;
|
pPropBag = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user