On Wed, Oct 29, 2008 at 7:39 PM, Pete Myers peterdanielmyers@googlemail.com wrote:
In line with http://wiki.winehq.org/ReplaceMalloc this is a small patch that changes all malloc calls to HeapAlloc in the following files: ./dlls/iphlpapi/tests/iphlpapi.c ./dlls/wnaspi32/winaspi16.c
Changelog:
- malloc calls in dlls/kernel32/process.c have been change to HeapAlloc
Your changelog (right above) doesn't match the patch, and
- PMIB_IPADDRTABLE buf = (PMIB_IPADDRTABLE)malloc(dwSize); + PMIB_IPADDRTABLE buf = (PMIB_IPADDRTABLE)HeapAlloc( GetProcessHeap(), 0, dwSize);
You've introduced a space after opening parentheses which does not match the style of the rest of the file.