[Mesa-dev] [PATCH 1/1] r600, llvm: Don't leak global symbol offsets

Jan Vesely jan.vesely at rutgers.edu
Tue Dec 2 11:47:53 PST 2014


Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---

You were right, this one was leaking too.

 src/gallium/drivers/r600/r600_llvm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
index 3a3ee3a..a928fb8 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;
 }
-- 
1.9.3



More information about the mesa-dev mailing list