From 4f741307531737dd6114df2f79b82ba88b0c193f Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 19 Jul 2003 13:24:59 +0000 Subject: [PATCH] clean up git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2757 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsExec/nsexec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Contrib/nsExec/nsexec.c b/Contrib/nsExec/nsexec.c index 1fd32ab1..e0fcc614 100644 --- a/Contrib/nsExec/nsexec.c +++ b/Contrib/nsExec/nsexec.c @@ -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);