r600, llvm: Fix mem leak
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 4 Nov 2014 01:29:36 +0000 (20:29 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 2 Dec 2014 16:30:13 +0000 (11:30 -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 e8cae00008093ad75afeee5b36eae4104e3c5d41..3a3ee3ac1e7c9ec115ec26b8871f115503207043 100644 (file)
@@ -887,6 +887,7 @@ unsigned r600_llvm_compile(
 
        FREE(binary.code);
        FREE(binary.config);
+       FREE(binary.rodata);
 
        return r;
 }