summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
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;
}