projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1a182
)
r600g: Close a memory leak of llvm byte streams
author
Xinya Zhang
<zxy_thf@hotmail.com>
Mon, 17 Sep 2012 08:35:06 +0000
(16:35 +0800)
committer
Tom Stellard
<thomas.stellard@amd.com>
Mon, 17 Sep 2012 21:09:43 +0000
(21:09 +0000)
No regressions found in the tests of opencl-example/run_tests.sh.
Signed-off-by: Xinya Zhang <zxy_thf@hotmail.com>
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 591592c52ba537067296e2e98bcee0489e933f2c..736165b8083c80ee5c7950a4b40249619300e18e 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-253,6
+253,7
@@
int r600_compute_shader_create(struct pipe_context * ctx,
if (dump) {
r600_bytecode_dump(shader_ctx.bc);
}
+ free(bytes);
return 1;
}