[WS2_32_NEW] Fix ProtocolInfo allocation size. By Peter Hater. CORE-10440

svn path=/trunk/; revision=69805
This commit is contained in:
Amine Khaldi 2015-11-03 21:54:00 +00:00
parent 0d3b942a2f
commit 035dbc5aa9

View file

@ -123,7 +123,7 @@ WsThreadGetProtoBuffer(IN PWSTHREAD Thread)
if (!Thread->ProtocolInfo)
{
/* We don't have a buffer; allocate it */
Thread->ProtocolInfo = HeapAlloc(WsSockHeap, 0, sizeof(PWSPROTO_BUFFER));
Thread->ProtocolInfo = HeapAlloc(WsSockHeap, 0, sizeof(WSPROTO_BUFFER));
}
/* Return it */