From 02cc9e9f9e48795371298dcf25a9de6215138880 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Tue, 2 Dec 2014 14:47:53 -0500 Subject: [PATCH] r600, llvm: Don't leak global symbol offsets Signed-off-by: Jan Vesely Reviewed-by: Tom Stellard --- 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 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; } -- 2.30.2