win-dshow: Fix incorrect variable used in condition

master
Richard Stanway 2021-03-23 02:48:30 +01:00
parent 5c8587eab3
commit 670156db8b
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ fail:
if (key) {
RegCloseKey(key);
}
if (key) {
if (subkey) {
RegCloseKey(subkey);
}