summaryrefslogtreecommitdiff
path: root/src/theatre_detect.c
diff options
context:
space:
mode:
authorNicolas Reinecke <nr@das-labor.org>2010-09-27 13:33:55 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-09-27 13:34:37 -0400
commitc4f834cdfbe96aa47ac5fb039f9dd7aa9730c8a3 (patch)
tree97f5f7abf785d7e6b183199ce526ed701225a978 /src/theatre_detect.c
parentf8fb9312d791af1f77020e8c2d35bb30841ed9aa (diff)
radeon: Convert remaining x(c)alloc/xfree to m/calloc/free.
Fixes deprecation warnings missed out by f7a91ece264af9f3fd2fc18e99aefcda93ce9f5c
Diffstat (limited to 'src/theatre_detect.c')
-rw-r--r--src/theatre_detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theatre_detect.c b/src/theatre_detect.c
index 7e7f813e..44cd9fa9 100644
--- a/src/theatre_detect.c
+++ b/src/theatre_detect.c
@@ -79,7 +79,7 @@ _X_EXPORT TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b)
return NULL;
}
- t = xcalloc(1,sizeof(TheatreRec));
+ t = calloc(1,sizeof(TheatreRec));
t->VIP = b;
t->theatre_num = -1;
t->mode=MODE_UNINITIALIZED;
@@ -113,7 +113,7 @@ _X_EXPORT TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b)
if(t->theatre_num < 0)
{
- xfree(t);
+ free(t);
return NULL;
}