Commit ef0d7e13 authored by Xinya Zhang's avatar Xinya Zhang Committed by Tom Stellard

r600g: Close a memory leak of llvm byte streams

No regressions found in the tests of opencl-example/run_tests.sh.
Signed-off-by: default avatarXinya Zhang <zxy_thf@hotmail.com>
Signed-off-by: default avatarTom Stellard <thomas.stellard@amd.com>
parent 0b1a1829
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment