mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
remove message from the list if it was freed in MsqTranslateMouseMessage()
svn path=/trunk/; revision=7055
This commit is contained in:
parent
2cc22c2214
commit
fafd8079ae
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: msgqueue.c,v 1.44 2003/12/14 11:36:43 gvg Exp $
|
||||
/* $Id: msgqueue.c,v 1.45 2003/12/14 19:04:51 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -393,6 +393,10 @@ MsqPeekHardwareMessage(PUSER_MESSAGE_QUEUE MessageQueue, HWND hWnd,
|
|||
IntReleaseWindowObject(DesktopWindow);
|
||||
return(TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoveEntryList(&Current->ListEntry);
|
||||
}
|
||||
}
|
||||
}
|
||||
ExReleaseFastMutex(&MessageQueue->HardwareLock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue