projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20446d0
)
r600/pipe: Stop leaking context->start_compute_cs_cmd.buf on EG/CM
author
Aaron Watry
<awatry@gmail.com>
Fri, 15 Nov 2013 22:09:41 +0000
(16:09 -0600)
committer
Aaron Watry
<awatry@gmail.com>
Mon, 23 Dec 2013 13:24:50 +0000
(07:24 -0600)
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>
src/gallium/drivers/r600/r600_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 4016bbe152090708a2bd7119650f504233521834..74e007b227906256c35ec084d054e39caef9a24f 100644
(file)
--- 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);
}