projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7756e
)
radeon: fix reloc free harder
author
Dave Airlie
<airlied@linux.ie>
Thu, 22 Jan 2009 11:31:06 +0000
(21:31 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Thu, 22 Jan 2009 11:31:06 +0000
(21:31 +1000)
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
index 0d0ea3640286518f4906bb5721b573482a348e53..ef59dd1f5c82e708cb3e192e80fa0e406d8f538b 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
@@
-337,7
+337,9
@@
static int cs_emit(struct radeon_cs *cs)
static int cs_destroy(struct radeon_cs *cs)
{
- free(cs->relocs->indices);
+ struct cs_reloc_legacy *relocs;
+ relocs = cs->relocs;
+ free(relocs->indices);
free(cs->relocs);
free(cs->packets);
free(cs);