git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2757 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-07-19 13:24:59 +00:00
parent 408724ec39
commit 4f74130753

View file

@ -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);