mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 17:32:36 +00:00
[MCJIT] Fix a memory leak in a unit test that was introduced in r243589.
llvm-svn: 243609
This commit is contained in:
parent
d6ac2f5889
commit
1dbdf92b9c
@ -505,6 +505,7 @@ TEST_F(MCJITCAPITest, addGlobalMapping) {
|
||||
LLVMPositionBuilderAtEnd(Builder, Entry);
|
||||
LLVMValueRef RetVal = LLVMBuildCall(Builder, MappedFn, NULL, 0, "");
|
||||
LLVMBuildRet(Builder, RetVal);
|
||||
LLVMDisposeBuilder(Builder);
|
||||
|
||||
LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);
|
||||
LLVMDisposeMessage(Error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user