r600, llvm: Don't leak global symbol offsets
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 2 Dec 2014 19:47:53 +0000 (14:47 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 3 Dec 2014 03:32:05 +0000 (22:32 -0500)
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/r600_llvm.c

index 3a3ee3ac1e7c9ec115ec26b8871f115503207043..a928fb812621d86895e81bb008b3ec9488dce568 100644 (file)
@@ -888,6 +888,7 @@ unsigned r600_llvm_compile(
        FREE(binary.code);
        FREE(binary.config);
        FREE(binary.rodata);
+       FREE(binary.global_symbol_offsets);
 
        return r;
 }