mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Make AsyncData point to the allocated memory instead of overwriting some
random memory locations svn path=/trunk/; revision=12357
This commit is contained in:
parent
89ae96ff47
commit
4b48423b86
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ WSPAsyncSelect(
|
|||
Socket = GetSocketStructure(Handle);
|
||||
|
||||
/* Allocate the Async Data Structure to pass on to the Thread later */
|
||||
HeapAlloc(GetProcessHeap(), 0, sizeof(*AsyncData));
|
||||
AsyncData = HeapAlloc(GetProcessHeap(), 0, sizeof(*AsyncData));
|
||||
|
||||
/* Change the Socket to Non Blocking */
|
||||
BlockMode = 1;
|
||||
|
|
Loading…
Reference in a new issue