secur32: Properly initialize the helper structure when fork support is missing.

This commit is contained in:
Alexandre Julliard 2009-02-16 11:53:22 +01:00
parent cc46d242e0
commit 21a7b21b65
1 changed files with 1 additions and 0 deletions

View File

@ -1982,6 +1982,7 @@ void SECUR32_initNTLMSP(void)
/* Cheat and allocate a helper anyway, so cleanup later will work. */
helper = HeapAlloc(GetProcessHeap(),0, sizeof(NegoHelper));
helper->major = helper->minor = helper->micro = -1;
helper->pipe_in = helper->pipe_out = -1;
}
else
check_version(helper);