summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2014-11-03 20:29:36 -0500
committerTom Stellard <[email protected]>2014-12-02 11:30:13 -0500
commitca0616f17e2ed16d44a7105c02f761ec353a39cb (patch)
tree42901eb3c952ffe3f10db68490a55ee514563690 /src/gallium/drivers/r600
parent745b1f550339b3adbf272a28b9d0c767a86ff2fb (diff)
r600, llvm: Fix mem leak
Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_llvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index e8cae000080..3a3ee3ac1e7 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -887,6 +887,7 @@ unsigned r600_llvm_compile(
FREE(binary.code);
FREE(binary.config);
+ FREE(binary.rodata);
return r;
}