mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Merging r227339:
------------------------------------------------------------------------ r227339 | bsteinbr | 2015-01-28 10:32:31 -0800 (Wed, 28 Jan 2015) | 3 lines 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/branches/release_36@227477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
f65176f079
commit
ccdb0c3ff0
1 file changed
+4
@@ -22,6 +22,8 @@ int add_named_metadata_operand(void) {
|
||||
// This used to trigger an assertion
|
||||
LLVMAddNamedMetadataOperand(m, "name", LLVMMDNode(values, 1));
|
||||
|
||||
LLVMDisposeModule(m);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -35,5 +37,7 @@ int set_metadata(void) {
|
||||
LLVMGetMDKindID("kind", 4),
|
||||
LLVMMDNode(values, 1));
|
||||
|
||||
LLVMDisposeBuilder(b);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user