testmemleak: removed the test case that was added in [1105]. It has been moved to the TestTokenizer instead
This commit is contained in:
parent
4bb43e7e4d
commit
7037a3b4f6
|
@ -174,7 +174,6 @@ private:
|
|||
TEST_CASE(freefree1);
|
||||
TEST_CASE(freefree2);
|
||||
// TODO TEST_CASE(strcat_result_assignment);
|
||||
// TODO TEST_CASE(complex_free);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1684,16 +1683,6 @@ private:
|
|||
"}");
|
||||
ASSERT_EQUALS(std::string(""), errout.str());
|
||||
}
|
||||
|
||||
void complex_free()
|
||||
{
|
||||
check("void foo()\n"
|
||||
"{\n"
|
||||
"char *p = malloc(100);\n"
|
||||
"free(((void*)p));\n"
|
||||
"}");
|
||||
ASSERT_EQUALS(std::string(""), errout.str());
|
||||
}
|
||||
};
|
||||
|
||||
REGISTER_TEST(TestMemleak)
|
||||
|
|
Loading…
Reference in New Issue