summaryrefslogtreecommitdiff
path: root/hw/kdrive/linux/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/linux/mouse.c')
-rw-r--r--hw/kdrive/linux/mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/linux/mouse.c b/hw/kdrive/linux/mouse.c
index 007263e4b..1db534863 100644
--- a/hw/kdrive/linux/mouse.c
+++ b/hw/kdrive/linux/mouse.c
@@ -958,7 +958,7 @@ MouseInit (KdPointerInfo *pi)
close(fd);
- km = (Kmouse *) xalloc (sizeof (Kmouse));
+ km = (Kmouse *) malloc(sizeof (Kmouse));
if (km) {
km->iob.avail = km->iob.used = 0;
MouseFirstProtocol(km, pi->protocol ? pi->protocol : "exps/2");
@@ -1016,7 +1016,7 @@ MouseDisable (KdPointerInfo *pi)
static void
MouseFini (KdPointerInfo *pi)
{
- xfree (pi->driverPrivate);
+ free(pi->driverPrivate);
pi->driverPrivate = NULL;
}