summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-01-22 21:29:22 +1000
committerDave Airlie <airlied@linux.ie>2009-01-22 21:29:22 +1000
commitbb7756eaed7b6c51a2da2ed9905b79172be91881 (patch)
tree3089014a12ce431f20d50ba956db896ccbfd17e7 /src
parenta5b54eb3c99aedf92197c834a6645127a231b382 (diff)
radeon: free indices caught with valgrind
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_cs_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
index 3a3a245d79..0d0ea36402 100644
--- 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);