Module: Mesa
Branch: master
Commit: 02cc9e9f9e48795371298dcf25a9de6215138880
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=02cc9e9f9e48795371298dcf25a9de6215138880

Author: Jan Vesely <[email protected]>
Date:   Tue Dec  2 14:47:53 2014 -0500

r600, llvm: Don't leak global symbol offsets

Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>

---

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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to