mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Mark the DispatchingListEntry as removed (in MsqSendMessage).
svn path=/trunk/; revision=16568
This commit is contained in:
parent
2032b01e66
commit
f0300f5044
1 changed files with 2 additions and 0 deletions
|
@ -1117,6 +1117,7 @@ MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
|||
Message->CompletionEvent = NULL;
|
||||
Message->Result = NULL;
|
||||
RemoveEntryList(&Message->DispatchingListEntry);
|
||||
Message->DispatchingListEntry.Flink = NULL;
|
||||
break;
|
||||
}
|
||||
Entry = Entry->Flink;
|
||||
|
@ -1174,6 +1175,7 @@ MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
|
|||
Message->CompletionEvent = NULL;
|
||||
Message->Result = NULL;
|
||||
RemoveEntryList(&Message->DispatchingListEntry);
|
||||
Message->DispatchingListEntry.Flink = NULL;
|
||||
break;
|
||||
}
|
||||
Entry = Entry->Flink;
|
||||
|
|
Loading…
Reference in a new issue