summaryrefslogtreecommitdiff
path: root/src/g80_sor.c
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2010-05-25 13:32:18 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2010-05-25 13:32:18 +0300
commit4fff9d3f0a27de68bd3190a98558a3de1b7a85d2 (patch)
tree7664988075ae00315e250b3f7b72eeab1dd3a398 /src/g80_sor.c
parent17ab5dbea69e690cbf78c25040db518471e0887f (diff)
Don't use libcwrappers for calloc and free
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'src/g80_sor.c')
-rw-r--r--src/g80_sor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/g80_sor.c b/src/g80_sor.c
index 185761f..314be96 100644
--- a/src/g80_sor.c
+++ b/src/g80_sor.c
@@ -169,7 +169,7 @@ G80SorDestroy(xf86OutputPtr output)
xf86DeleteMode(&pPriv->nativeMode, pPriv->nativeMode);
- xfree(output->driver_private);
+ free(output->driver_private);
output->driver_private = NULL;
}
@@ -505,7 +505,7 @@ G80CreateSor(ScrnInfoPtr pScrn, ORNum or, PanelType panelType)
if(!pPriv->nativeMode) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Failed to find LVDS native mode\n");
- xfree(pPriv);
+ free(pPriv);
return NULL;
}