secur32: Memory allocation size fix

Andrew Talbot andrew.talbot at talbotville.com
Mon May 12 14:50:53 CDT 2008


Changelog:
    secur32: Memory allocation size fix.

diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c
index bcd65ef..f2b8b2a 100644
--- a/dlls/secur32/ntlm.c
+++ b/dlls/secur32/ntlm.c
@@ -1981,7 +1981,7 @@ void SECUR32_initNTLMSP(void)
     if(fork_helper(&helper, ntlm_auth, args) != SEC_E_OK)
     {
         /* Cheat and allocate a helper anyway, so cleanup later will work. */
-        helper = HeapAlloc(GetProcessHeap(),0, sizeof(PNegoHelper));
+        helper = HeapAlloc(GetProcessHeap(),0, sizeof(NegoHelper));
         helper->major = helper->minor = helper->micro = -1;
     }
     else



More information about the wine-patches mailing list