diff options
Diffstat (limited to 'driver/xf86-video-radeonold/src/legacy_output.c')
-rw-r--r-- | driver/xf86-video-radeonold/src/legacy_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-radeonold/src/legacy_output.c b/driver/xf86-video-radeonold/src/legacy_output.c index 423a3e27a..4546fc032 100644 --- a/driver/xf86-video-radeonold/src/legacy_output.c +++ b/driver/xf86-video-radeonold/src/legacy_output.c @@ -166,7 +166,7 @@ RADEONGetExtTMDSInfo(ScrnInfoPtr pScrn, radeon_dvo_ptr dvo) dvo->DVOChip = RADEONDVODeviceInit(pDVOBus, dvo->dvo_i2c_slave_addr); if (!dvo->DVOChip) - xfree(pDVOBus); + free(pDVOBus); } } } @@ -443,7 +443,7 @@ RADEONDVODeviceInit(I2CBusPtr b, I2CSlaveAddr addr) { I2CDevPtr dvo; - dvo = xcalloc(1, sizeof(I2CDevRec)); + dvo = calloc(1, sizeof(I2CDevRec)); if (dvo == NULL) return NULL; @@ -459,7 +459,7 @@ RADEONDVODeviceInit(I2CBusPtr b, I2CSlaveAddr addr) return dvo; } - xfree(dvo); + free(dvo); return NULL; } |