Re: [PATCH 6/7] ws2_32: implement AcceptEx
28 Aug
2009
28 Aug
'09
6:01 p.m.
Hi Mike, I have one minor nit on this patch: + if (wsa->read) HeapFree( GetProcessHeap(), 0, wsa->read ); Please don't check if (wsa->read) is NULL before calling HeapFree. HeapFree already does the correct thing given NULL, and we had a bunch of patches to remove checks like this. --Juan
28 Aug
28 Aug
6:14 p.m.
New subject: [PATCH 6/7] ws2_32: implement AcceptEx
On Fri, Aug 28, 2009 at 2:01 PM, Juan Lang<juan.lang(a)gmail.com> wrote:
Hi Mike, I have one minor nit on this patch:
+ if (wsa->read) HeapFree( GetProcessHeap(), 0, wsa->read ); Please don't check if (wsa->read) is NULL before calling HeapFree. HeapFree already does the correct thing given NULL, and we had a bunch of patches to remove checks like this. --Juan
I did not know that, thanks Juan. I'll resend the batch. Mike.
5951
Age (days ago)
5951
Last active (days ago)
1 comments
2 participants
participants (2)
-
Juan Lang -
Mike Kaplinskiy