mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[SYSSETUP]
Reorder closing of handles (the service handle then the SCM handle), it clarifies the logic (but not change it dramatically). [RSYM64] Correct a misspelling, no code change. svn path=/trunk/; revision=58488
This commit is contained in:
parent
9156f1fe0f
commit
7f6b593bb0
2 changed files with 3 additions and 3 deletions
|
@ -439,10 +439,10 @@ EnableUserModePnpManager(VOID)
|
|||
bRet = TRUE;
|
||||
|
||||
cleanup:
|
||||
if (hSCManager != NULL)
|
||||
CloseServiceHandle(hSCManager);
|
||||
if (hService != NULL)
|
||||
CloseServiceHandle(hService);
|
||||
if (hSCManager != NULL)
|
||||
CloseServiceHandle(hSCManager);
|
||||
return bRet;
|
||||
}
|
||||
|
||||
|
|
|
@ -787,7 +787,7 @@ ParsePEHeaders(PFILE_INFO File)
|
|||
File->UsedSections = 0;
|
||||
File->eh_frame.idx = -1;
|
||||
|
||||
/* Allocate array of chars, specifiying wheter to copy the section */
|
||||
/* Allocate array of chars, specifiying whether to copy the section */
|
||||
File->UseSection = malloc(File->AllSections);
|
||||
|
||||
for (i = 0; i < File->AllSections; i++)
|
||||
|
|
Loading…
Reference in a new issue