mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[MSI] Do not leak rootkey
This commit is contained in:
@@ -98,6 +98,7 @@ static UINT OpenSourceKey(LPCWSTR szProduct, HKEY* key, DWORD dwOptions,
|
||||
if (rc != ERROR_SUCCESS)
|
||||
rc = ERROR_BAD_CONFIGURATION;
|
||||
}
|
||||
RegCloseKey(rootkey);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user