diff --git a/Contrib/nsExec/nsexec.c b/Contrib/nsExec/nsexec.c index e765cb89..79ba567a 100644 --- a/Contrib/nsExec/nsexec.c +++ b/Contrib/nsExec/nsexec.c @@ -133,6 +133,7 @@ void ExecScript(BOOL log) { LogMessage(szBuf); } } + GlobalUnlock(memory); GlobalFree(memory); CloseHandle(pi.hThread); CloseHandle(pi.hProcess);