Andrew Talbot : secur32: Memory allocation size fix.

Alexandre Julliard julliard at winehq.org
Tue May 13 04:39:44 CDT 2008


Module: wine
Branch: master
Commit: 140c0423f50bf960466a7bc7e814406766dbea33
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=140c0423f50bf960466a7bc7e814406766dbea33

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon May 12 20:50:53 2008 +0100

secur32: Memory allocation size fix.

---

 dlls/secur32/ntlm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list