mirror of
https://github.com/reactos/reactos.git
synced 2025-05-16 15:50:24 +00:00
fix premature close og reg key
svn path=/trunk/; revision=16417
This commit is contained in:
parent
541151ea53
commit
cf3c6e6296
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue