mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
Fixed XShm completion event leak.
This commit is contained in:
parent
78044a2d1e
commit
b5fed2f027
@ -1845,7 +1845,6 @@ static void EVENT_ShmCompletion( XShmCompletionEvent *event )
|
||||
if (event->drawable == shm_draw) {
|
||||
HANDLE event = shm_event;
|
||||
shm_draw = 0;
|
||||
shm_event = 0;
|
||||
SetEvent(event);
|
||||
TRACE_(event)("Event object triggered\n" );
|
||||
} else ERR_(event)("Got ShmCompletion for unknown drawable %ld\n", event->drawable );
|
||||
@ -1890,6 +1889,6 @@ void X11DRV_EVENT_WaitShmCompletion( int compl )
|
||||
TRACE_(event)("Wait complete (time %ld)\n", GetTickCount() );
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* defined(HAVE_LIBXXSHM) */
|
||||
|
||||
#endif /* !defined(X_DISPLAY_MISSING) */
|
||||
|
Loading…
Reference in New Issue
Block a user