mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Don't close reg key if the open failed.
This commit is contained in:
parent
41079866f7
commit
e42a23d2d3
1 changed files with 1 additions and 1 deletions
|
@ -1030,9 +1030,9 @@ HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *lplpszProgID)
|
|||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, buf2);
|
||||
RegCloseKey(xhkey);
|
||||
}
|
||||
|
||||
RegCloseKey(xhkey);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue