forked from OSchip/llvm-project
Fix (harmless) memory leak found by memcheck.
llvm-svn: 95862
This commit is contained in:
parent
da4e0d350c
commit
00ea4a36d6
|
@ -191,6 +191,7 @@ TEST_F(StringMapTest, StringMapEntryTest) {
|
|||
testKeyFirst, testKeyFirst + testKeyLength, 1u);
|
||||
EXPECT_STREQ(testKey, entry->first());
|
||||
EXPECT_EQ(1u, entry->second);
|
||||
free(entry);
|
||||
}
|
||||
|
||||
// Test insert() method.
|
||||
|
|
Loading…
Reference in New Issue