diff options
Diffstat (limited to 'src/g80_sor.c')
-rw-r--r-- | src/g80_sor.c | 4 |
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; } |