diff options
author | 오유연(Yu-yeon Oh) <yuyeon_oh@tmax.co.kr> | 2009-03-10 09:51:08 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-10 09:51:08 -0400 |
commit | 03ec2099fdc859b23e5fa56ac8696ec045f1b110 (patch) | |
tree | c2dd1c9c9b91e85dfd43fc733c01834d2c4ea4c3 /src/radeon_driver.c | |
parent | 60dac878cc8626b0821c4c7a6a6dfa12a5597cfa (diff) |
radeon_driver.c small memory bug
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 5 |
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; |