[MCJIT] Fix a memory leak in a unit test that was introduced in r243589.

llvm-svn: 243609
This commit is contained in:
Lang Hames 2015-07-30 02:05:37 +00:00
parent d6ac2f5889
commit 1dbdf92b9c

View File

@ -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);