Author: hbelusca Date: Wed Mar 13 20:40:43 2013 New Revision: 58488
URL: http://svn.reactos.org/svn/reactos?rev=58488&view=rev Log: [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.
Modified: trunk/reactos/dll/win32/syssetup/install.c trunk/reactos/tools/rsym/rsym64.c
Modified: trunk/reactos/dll/win32/syssetup/install.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install.... ============================================================================== --- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Wed Mar 13 20:40:43 2013 @@ -439,10 +439,10 @@ bRet = TRUE;
cleanup: + if (hService != NULL) + CloseServiceHandle(hService); if (hSCManager != NULL) CloseServiceHandle(hSCManager); - if (hService != NULL) - CloseServiceHandle(hService); return bRet; }
Modified: trunk/reactos/tools/rsym/rsym64.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rsym/rsym64.c?rev=584... ============================================================================== --- trunk/reactos/tools/rsym/rsym64.c [iso-8859-1] (original) +++ trunk/reactos/tools/rsym/rsym64.c [iso-8859-1] Wed Mar 13 20:40:43 2013 @@ -787,7 +787,7 @@ 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++)