From: Jan Vesely Date: Tue, 2 Dec 2014 19:47:53 +0000 (-0500) Subject: r600, llvm: Don't leak global symbol offsets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02cc9e9f9e48795371298dcf25a9de6215138880;p=mesa.git r600, llvm: Don't leak global symbol offsets Signed-off-by: Jan Vesely Reviewed-by: Tom Stellard --- 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; }