diff options
author | Xinya Zhang <[email protected]> | 2012-09-17 16:35:06 +0800 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-09-17 21:09:43 +0000 |
commit | ef0d7e13d7633b2d855e95dc7de2bb833592ec70 (patch) | |
tree | d3ff696b33b3477561836f783d73a2fe48bca7d6 /src/gallium/drivers | |
parent | 0b1a182905a035bcfafb94269aaca786554b445a (diff) |
r600g: Close a memory leak of llvm byte streams
No regressions found in the tests of opencl-example/run_tests.sh.
Signed-off-by: Xinya Zhang <[email protected]>
Signed-off-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 591592c52ba..736165b8083 100644 --- 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; } |