summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 633c22a1cce..dc5e3754aad 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -199,6 +199,8 @@ static void r600_destroy_context(struct pipe_context *context)
rctx->b.ws->cs_destroy(rctx->b.rings.dma.cs);
}
+ FREE(rctx->start_compute_cs_cmd.buf);
+
r600_common_context_cleanup(&rctx->b);
FREE(rctx);
}