projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b54eb
)
radeon: free indices caught with valgrind
author
Dave Airlie
<airlied@linux.ie>
Thu, 22 Jan 2009 11:29:22 +0000
(21:29 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Thu, 22 Jan 2009 11:29:22 +0000
(21:29 +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 3a3a245d79812a78546438ac26df742e7ae93842..0d0ea3640286518f4906bb5721b573482a348e53 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
@@
-337,6
+337,7
@@
static int cs_emit(struct radeon_cs *cs)
static int cs_destroy(struct radeon_cs *cs)
{
+ free(cs->relocs->indices);
free(cs->relocs);
free(cs->packets);
free(cs);