summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author오유연(Yu-yeon Oh) <yuyeon_oh@tmax.co.kr>2009-03-10 09:51:08 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-10 09:51:08 -0400
commit03ec2099fdc859b23e5fa56ac8696ec045f1b110 (patch)
treec2dd1c9c9b91e85dfd43fc733c01834d2c4ea4c3
parent60dac878cc8626b0821c4c7a6a6dfa12a5597cfa (diff)
radeon_driver.c small memory bug
-rw-r--r--src/radeon_driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index b665033b..f56a2928 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2181,11 +2181,6 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr pScrn)
return FALSE;
}
- if (!(info->dri = xcalloc(1, sizeof(struct radeon_dri)))) {
- ErrorF("Unable to allocate dri rec!\n");
- return FALSE;
- }
-
info->dri->pLibDRMVersion = NULL;
info->dri->pKernelDRMVersion = NULL;