clean up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2757 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
408724ec39
commit
4f74130753
1 changed files with 1 additions and 3 deletions
|
@ -109,8 +109,6 @@ void ExecScript(int log) {
|
|||
szUnusedBuf = (char *)GlobalLock(hUnusedBuf);
|
||||
}
|
||||
|
||||
#define TEST(x) if (!x) MessageBox(g_hwndParent, #x, "failed", MB_OK|MB_ICONERROR);
|
||||
|
||||
GetVersionEx(&osv);
|
||||
if (osv.dwPlatformId == VER_PLATFORM_WIN32_NT) {
|
||||
InitializeSecurityDescriptor(&sd,SECURITY_DESCRIPTOR_REVISION);
|
||||
|
@ -198,7 +196,7 @@ done:
|
|||
CloseHandle(pi.hProcess);
|
||||
CloseHandle(newstdout);
|
||||
CloseHandle(read_stdout);
|
||||
GlobalFree(g_exec);
|
||||
GlobalFree(g_exec);
|
||||
if (log) {
|
||||
GlobalUnlock(hUnusedBuf);
|
||||
GlobalFree(hUnusedBuf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue