summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2014-12-02 14:47:53 -0500
committerTom Stellard <[email protected]>2014-12-02 22:32:05 -0500
commit02cc9e9f9e48795371298dcf25a9de6215138880 (patch)
tree6f6a85eb1dbc73a628d57e1ed49c944ddb770396 /src/gallium/drivers
parentbc3ca485aeae65d8e43079c0d3b4339be3582e18 (diff)
r600, llvm: Don't leak global symbol offsets
Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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 3a3ee3ac1e7..a928fb81262 100644
--- a/src/gallium/drivers/r600/r600_llvm.c
+++ b/src/gallium/drivers/r600/r600_llvm.c
@@ -888,6 +888,7 @@ unsigned r600_llvm_compile(
FREE(binary.code);
FREE(binary.config);
FREE(binary.rodata);
+ FREE(binary.global_symbol_offsets);
return r;
}