diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-04 17:04:16 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-05 16:14:23 +0930 |
commit | 52752911ea8470dd8805f5e6c3febb9e1e1cc4b3 (patch) | |
tree | d8160fd12a2e4b620db88be31f362f07ec69c1ca /hw/dmx | |
parent | 5c5e58124581b845a6bfa7a2991a4e0ee7f7ebdb (diff) |
dmx: don't free event list after use.
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/input/dmxevents.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/dmx/input/dmxevents.c b/hw/dmx/input/dmxevents.c index 1d0e872a0..4b51ffd9a 100644 --- a/hw/dmx/input/dmxevents.c +++ b/hw/dmx/input/dmxevents.c @@ -237,7 +237,6 @@ static void enqueueMotion(DevicePtr pDev, int x, int y) POINTER_ABSOLUTE, 0, 2, valuators); for (i = 0; i < nevents; i++) mieqEnqueue(p, (events + i)->event); - xfree(events); return; } @@ -709,7 +708,6 @@ void dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym, valuators); for (i = 0; i < nevents; i++) mieqEnqueue(p, (events + i)->event); - xfree(events); return; case MotionNotify: |