summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-06-14 08:52:16 +0200
committerMichel Dänzer <michel@daenzer.net>2010-06-21 08:18:15 +0200
commitf7a91ece264af9f3fd2fc18e99aefcda93ce9f5c (patch)
treedd5748ed2b94a860be6e66070e2c025cc9febad0 /src/radeon_output.c
parentea37d24b1b6d4cbcf73e680846de25b72af216e3 (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_output.c')
-rw-r--r--src/radeon_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 3a0d1e94..172b8719 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -418,7 +418,7 @@ radeon_ddc_connected(xf86OutputPtr output)
if (!xf86ReturnOptValBool(info->Options, OPTION_IGNORE_EDID, FALSE))
xf86OutputSetEDID(output, MonInfo);
} else
- xfree(MonInfo);
+ free(MonInfo);
} else
MonType = MT_NONE;
@@ -1295,7 +1295,7 @@ static void
radeon_destroy (xf86OutputPtr output)
{
if (output->driver_private)
- xfree(output->driver_private);
+ free(output->driver_private);
}
static void