mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
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 <zxy_thf@hotmail.com> Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
0b1a182905
commit
ef0d7e13d7
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue