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 <thomas.stellard@amd.com>

CC: "10.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 3ddabe0d52)
This commit is contained in:
Aaron Watry 2013-11-15 16:09:41 -06:00 committed by Carl Worth
parent 7a7166f832
commit 765ceb6a36

View file

@ -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);
}