summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-11-12 12:37:39 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-11-12 12:37:39 +1030
commit5a7a65a3c978a65e8ff39d0cc9878527ec42adc9 (patch)
tree9122634bda34e0c4f2198c5da87ce74eca9ecdc0 /mi/mieq.c
parenta05f43bf3e9629df98e93c366d4327f20ed81e6c (diff)
mi: avoid SIGABRT by setting master_event to NULL.
Diffstat (limited to 'mi/mieq.c')
-rw-r--r--mi/mieq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 7ea12fe8c..f0af4b0ba 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -363,7 +363,8 @@ mieqProcessInputEvents(void)
{
CopyGetMasterEvent(e->pDev->u.master, event,
&master_event, e->nevents);
- }
+ } else
+ master_event = NULL;
/* process slave first, then master */
e->pDev->public.processInputProc(event, e->pDev, e->nevents);