ntlm.c:Another GetProcessHeap vs GetProcessHeap()

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Jun 19 11:01:53 CDT 2006


Hans' fix implied another search pattern:
 find -type f | grep -v .spec.c | grep -v exe.so | grep -v exe.spec.o |\
 xargs grep GetProcessHeap | grep -v GetProcessHeap\( | grep -v\
 "GetProcessHeap (" |less

It brought up another hit:

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/secur32/ntlm.c
===================================================================
RCS file: /home/wine/wine/dlls/secur32/ntlm.c,v
retrieving revision 1.15
diff -u -w -r1.15 ntlm.c
--- wine/dlls/secur32/ntlm.c	16 Jun 2006 13:20:12 -0000	1.15
+++ wine/dlls/secur32/ntlm.c	19 Jun 2006 15:51:48 -0000
@@ -1226,7 +1226,7 @@
     if((ret = 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(PNegoHelper));
         helper->version = -1;
     }
     else



More information about the wine-patches mailing list