llvm.org GIT mirror llvm / dd4a5df
Fix build breakage caused by memory leaks in llvm-c-test I accidently introduced those in r227319. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227339 91177308-0d34-0410-b5e6-96231b3b80d8 Bjorn Steinbrink 4 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2121 // This used to trigger an assertion
2222 LLVMAddNamedMetadataOperand(m, "name", LLVMMDNode(values, 1));
2323
24 LLVMDisposeModule(m);
25
2426 return 0;
2527 }
2628
3436 LLVMGetMDKindID("kind", 4),
3537 LLVMMDNode(values, 1));
3638
39 LLVMDisposeBuilder(b);
40
3741 return 0;
3842 }