diff options
author | Dave Airlie <airlied@linux.ie> | 2009-01-22 21:29:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-01-22 21:29:22 +1000 |
commit | bb7756eaed7b6c51a2da2ed9905b79172be91881 (patch) | |
tree | 3089014a12ce431f20d50ba956db896ccbfd17e7 /src/mesa/drivers/dri/radeon | |
parent | a5b54eb3c99aedf92197c834a6645127a231b382 (diff) |
radeon: free indices caught with valgrind
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_cs_legacy.c | 1 |
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); |