diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-06-14 08:52:16 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-06-21 08:18:15 +0200 |
commit | f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c (patch) | |
tree | dd5748ed2b94a860be6e66070e2c025cc9febad0 /src/radeon_probe.c | |
parent | ea37d24b1b6d4cbcf73e680846de25b72af216e3 (diff) |
Convert x(c)alloc/xfree to m/calloc/free.
Fixes deprecation warnings with xserver master and should also work with older
xservers.
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r-- | src/radeon_probe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c index 1429835e..4405d404 100644 --- a/src/radeon_probe.c +++ b/src/radeon_probe.c @@ -100,7 +100,7 @@ static Bool radeon_kernel_mode_enabled(ScrnInfoPtr pScrn, struct pci_device *pci busIdString = DRICreatePCIBusID(pci_dev); ret = drmCheckModesettingSupported(busIdString); - xfree(busIdString); + free(busIdString); if (ret) { xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 0, "[KMS] drm report modesetting isn't supported.\n"); @@ -195,7 +195,7 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) } } - xfree(pEnt); + free(pEnt); return TRUE; } @@ -239,8 +239,8 @@ RADEONProbe(DriverPtr drv, int flags) } } - xfree(usedChips); - xfree(devSections); + free(usedChips); + free(devSections); return foundScreen; } |