[llvm-branch-commits] [llvm-branch] r227477 - Merging r227339:
Hans Wennborg
hans at hanshq.net
Thu Jan 29 09:34:56 PST 2015
Author: hans
Date: Thu Jan 29 11:34:55 2015
New Revision: 227477
URL: http://llvm.org/viewvc/llvm-project?rev=227477&view=rev
Log:
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.
------------------------------------------------------------------------
Modified:
llvm/branches/release_36/ (props changed)
llvm/branches/release_36/tools/llvm-c-test/metadata.c
Propchange: llvm/branches/release_36/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jan 29 11:34:55 2015
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,226023,226029,226044,226046,226048,226058,226075,226170-226171,226182,226473,226664,226708,226711,226755,227005,227085,227250,227260-227261,227294,227299-227300,227319
+/llvm/trunk:155241,226023,226029,226044,226046,226048,226058,226075,226170-226171,226182,226473,226664,226708,226711,226755,227005,227085,227250,227260-227261,227294,227299-227300,227319,227339
Modified: llvm/branches/release_36/tools/llvm-c-test/metadata.c
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_36/tools/llvm-c-test/metadata.c?rev=227477&r1=227476&r2=227477&view=diff
==============================================================================
--- llvm/branches/release_36/tools/llvm-c-test/metadata.c (original)
+++ llvm/branches/release_36/tools/llvm-c-test/metadata.c Thu Jan 29 11:34:55 2015
@@ -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;
}
More information about the llvm-branch-commits
mailing list