Free Variant variable after usage in DShow back-end

This commit is contained in:
Alexander Smorkalov 2024-08-19 21:40:52 +03:00
parent ae4a11b0c0
commit 24fde08712

View File

@ -1398,6 +1398,8 @@ int videoInput::listDevices(bool silent){
if(!silent) DebugPrintOut("SETUP: %i) %s\n",deviceCounter, deviceNames[deviceCounter]);
}
VariantClear(&varName);
pPropBag->Release();
pPropBag = NULL;