summaryrefslogtreecommitdiff
path: root/src/nv_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_setup.c')
-rw-r--r--src/nv_setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_setup.c b/src/nv_setup.c
index 132a96b..c11427f 100644
--- a/src/nv_setup.c
+++ b/src/nv_setup.c
@@ -668,11 +668,11 @@ NVCommonSetup(ScrnInfoPtr pScrn)
(!monitorA->features.input_type && !pNv->FlatPanel))
{
if(monitorB) {
- xfree(monitorB);
+ free(monitorB);
monitorB = NULL;
}
} else {
- xfree(monitorA);
+ free(monitorA);
monitorA = NULL;
}
}
@@ -681,7 +681,7 @@ NVCommonSetup(ScrnInfoPtr pScrn)
if((monitorB->features.input_type && !pNv->FlatPanel) ||
(!monitorB->features.input_type && pNv->FlatPanel))
{
- xfree(monitorB);
+ free(monitorB);
} else {
monitorA = monitorB;
}