summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorAaron Watry <[email protected]>2013-11-15 16:09:41 -0600
committerAaron Watry <[email protected]>2013-12-23 07:24:50 -0600
commit3ddabe0d523416693f28e293d8d3d918bdb612ca (patch)
treea0bb46ea000bc4ad8d4f1c73427596c5b0b203b4 /src/gallium/drivers/r600
parent20446d0e535c0735489c8944e8d767e0fc74fc6e (diff)
r600/pipe: Stop leaking context->start_compute_cs_cmd.buf on EG/CM
Found while tracking down memory leaks in VDPAU playback Reviewed-by: Tom Stellard <[email protected]> CC: "10.0" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-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 4016bbe1520..74e007b2279 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -192,6 +192,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);
}