summaryrefslogtreecommitdiff
path: root/hw/dmx/input/dmxmotion.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/input/dmxmotion.c')
-rw-r--r--hw/dmx/input/dmxmotion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxmotion.c b/hw/dmx/input/dmxmotion.c
index 73580a215..a86b62e5c 100644
--- a/hw/dmx/input/dmxmotion.c
+++ b/hw/dmx/input/dmxmotion.c
@@ -108,7 +108,7 @@ void dmxPointerPutMotionEvent(DeviceIntPtr pDevice,
int i;
if (!dmxLocal->history) {
- dmxLocal->history = xalloc(sizeof(*dmxLocal->history)
+ dmxLocal->history = malloc(sizeof(*dmxLocal->history)
* (numAxes + 1)
* DMX_MOTION_SIZE);
dmxLocal->head = 0;