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:
Xinya Zhang 2012-09-17 16:35:06 +08:00 committed by Tom Stellard
parent 0b1a182905
commit ef0d7e13d7

View file

@ -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;
}