v2: Fix indentation

Reviewed-by: Tom Stellard <thomas.stell...@amd.com>
---
 src/gallium/drivers/radeon/radeon_llvm_util.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/radeon/radeon_llvm_util.c 
b/src/gallium/drivers/radeon/radeon_llvm_util.c
index 7192dee..f2b3e13 100644
--- a/src/gallium/drivers/radeon/radeon_llvm_util.c
+++ b/src/gallium/drivers/radeon/radeon_llvm_util.c
@@ -42,6 +42,7 @@ LLVMModuleRef radeon_llvm_parse_bitcode(const unsigned char * 
bitcode,
        buf = LLVMCreateMemoryBufferWithMemoryRangeCopy((const char*)bitcode,
                                                        bitcode_len, "radeon");
        LLVMParseBitcodeInContext(ctx, buf, &module, NULL);
+       LLVMDisposeMemoryBuffer(buf);
        return module;
 }
 
-- 
1.8.3.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to