mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +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);
|
SetupCloseInfFile(hInf);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
RegCloseKey(hClassKey);
|
|
||||||
|
|
||||||
|
|
||||||
/* Try to append a layout file */
|
/* Try to append a layout file */
|
||||||
|
@ -1414,6 +1414,7 @@ BOOL WINAPI SetupDiInstallClassW(
|
||||||
if (FileQueue == INVALID_HANDLE_VALUE)
|
if (FileQueue == INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
SetupCloseInfFile(hInf);
|
SetupCloseInfFile(hInf);
|
||||||
|
RegCloseKey(hClassKey);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1441,6 +1442,7 @@ BOOL WINAPI SetupDiInstallClassW(
|
||||||
|
|
||||||
SetupCloseInfFile(hInf);
|
SetupCloseInfFile(hInf);
|
||||||
|
|
||||||
|
RegCloseKey(hClassKey);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue