projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
[reactos.git]
/
base
/
system
/
winlogon
/
setup.c
diff --git
a/base/system/winlogon/setup.c
b/base/system/winlogon/setup.c
index
872f3cb
..
7cec968
100644
(file)
--- a/
base/system/winlogon/setup.c
+++ b/
base/system/winlogon/setup.c
@@
-80,7
+80,7
@@
RunSetupThreadProc(
return FALSE;
/* Read key */
- dwSize =
(sizeof(Shell) / sizeof(Shell[0])) - 1
;
+ dwSize =
sizeof(Shell)
;
dwError = RegQueryValueExW(hKey,
L"CmdLine",
NULL,
@@
-155,6
+155,8
@@
RunSetup(VOID)
NULL,
0,
NULL);
+ if (hThread != NULL)
+ CloseHandle(hThread);
return hThread != NULL;
}