Mark the DispatchingListEntry as removed (in MsqSendMessage).

svn path=/trunk/; revision=16568
This commit is contained in:
Hartmut Birr 2005-07-14 21:07:14 +00:00
parent 2032b01e66
commit f0300f5044

View file

@ -1117,6 +1117,7 @@ MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
Message->CompletionEvent = NULL; Message->CompletionEvent = NULL;
Message->Result = NULL; Message->Result = NULL;
RemoveEntryList(&Message->DispatchingListEntry); RemoveEntryList(&Message->DispatchingListEntry);
Message->DispatchingListEntry.Flink = NULL;
break; break;
} }
Entry = Entry->Flink; Entry = Entry->Flink;
@ -1174,6 +1175,7 @@ MsqSendMessage(PUSER_MESSAGE_QUEUE MessageQueue,
Message->CompletionEvent = NULL; Message->CompletionEvent = NULL;
Message->Result = NULL; Message->Result = NULL;
RemoveEntryList(&Message->DispatchingListEntry); RemoveEntryList(&Message->DispatchingListEntry);
Message->DispatchingListEntry.Flink = NULL;
break; break;
} }
Entry = Entry->Flink; Entry = Entry->Flink;