summaryrefslogtreecommitdiff
path: root/driver/xf86-video-nv/src/nv_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-nv/src/nv_setup.c')
-rw-r--r--driver/xf86-video-nv/src/nv_setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-nv/src/nv_setup.c b/driver/xf86-video-nv/src/nv_setup.c
index 132a96bf0..c11427f79 100644
--- a/driver/xf86-video-nv/src/nv_setup.c
+++ b/driver/xf86-video-nv/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;
}