summaryrefslogtreecommitdiff
path: root/hw/kdrive/linux/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/linux/keyboard.c')
-rw-r--r--hw/kdrive/linux/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/linux/keyboard.c b/hw/kdrive/linux/keyboard.c
index 6eed7aed3..e05c5abad 100644
--- a/hw/kdrive/linux/keyboard.c
+++ b/hw/kdrive/linux/keyboard.c
@@ -737,9 +737,9 @@ LinuxKeyboardInit (KdKeyboardInfo *ki)
if (!ki)
return !Success;
- xfree(ki->path);
+ free(ki->path);
ki->path = strdup("console");
- xfree(ki->name);
+ free(ki->name);
ki->name = strdup("Linux console keyboard");
readKernelMapping (ki);