summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86ShowOpts.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/common/xf86ShowOpts.c')
-rw-r--r--hw/xfree86/common/xf86ShowOpts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xfree86/common/xf86ShowOpts.c b/hw/xfree86/common/xf86ShowOpts.c
index 04a9a8b1c..ff4b651c1 100644
--- a/hw/xfree86/common/xf86ShowOpts.c
+++ b/hw/xfree86/common/xf86ShowOpts.c
@@ -85,7 +85,7 @@ void DoShowOptions (void) {
goto bail;
}
xf86LoadModules (vlist,0);
- xfree (vlist);
+ free(vlist);
for (i = 0; i < xf86NumDrivers; i++) {
if (xf86DriverList[i]->AvailableOptions) {
OptionInfoPtr pOption = (OptionInfoPtr)(*xf86DriverList[i]->AvailableOptions)(0,0);
@@ -95,7 +95,7 @@ void DoShowOptions (void) {
);
continue;
}
- pSymbol = xalloc (
+ pSymbol = malloc(
strlen(xf86DriverList[i]->driverName) + strlen("ModuleData") + 1
);
strcpy (pSymbol, xf86DriverList[i]->driverName);
@@ -109,7 +109,7 @@ void DoShowOptions (void) {
);
for (p = pOption; p->name != NULL; p++) {
const char *opttype = optionTypeToSting(p->type);
- char *optname = xalloc(strlen(p->name) + 2 + 1);
+ char *optname = malloc(strlen(p->name) + 2 + 1);
if (!optname) {
continue;
}