summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/helper_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/int10/helper_exec.c')
-rw-r--r--hw/xfree86/int10/helper_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c
index 6ba647f89..8f47afe2b 100644
--- a/hw/xfree86/int10/helper_exec.c
+++ b/hw/xfree86/int10/helper_exec.c
@@ -711,7 +711,7 @@ xf86Int10SaveRestoreBIOSVars(xf86Int10InfoPtr pInt, Bool save)
if (pInt->BIOSScratch) {
for (i = 0; i < BIOS_SCRATCH_LEN; i++)
*(base + i) = *(pInt->BIOSScratch + i);
- xfree(pInt->BIOSScratch);
+ free(pInt->BIOSScratch);
pInt->BIOSScratch = NULL;
}
}