Fix (harmless) memory leak found by memcheck.

llvm-svn: 95862
This commit is contained in:
Jeffrey Yasskin 2010-02-11 07:16:13 +00:00
parent da4e0d350c
commit 00ea4a36d6
1 changed files with 1 additions and 0 deletions

View File

@ -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.