mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix premature close og reg key
svn path=/trunk/; revision=16417
This commit is contained in:
@@ -1391,7 +1391,7 @@ BOOL WINAPI SetupDiInstallClassW(
|
||||
SetupCloseInfFile(hInf);
|
||||
return FALSE;
|
||||
}
|
||||
RegCloseKey(hClassKey);
|
||||
|
||||
|
||||
|
||||
/* Try to append a layout file */
|
||||
@@ -1414,6 +1414,7 @@ BOOL WINAPI SetupDiInstallClassW(
|
||||
if (FileQueue == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
SetupCloseInfFile(hInf);
|
||||
RegCloseKey(hClassKey);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -1441,6 +1442,7 @@ BOOL WINAPI SetupDiInstallClassW(
|
||||
|
||||
SetupCloseInfFile(hInf);
|
||||
|
||||
RegCloseKey(hClassKey);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user