summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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);