cppcheck/testdelete1/testdelete1.cpp

8 lines
51 B
C++
Raw Normal View History

2007-05-07 19:31:35 +02:00
void f()
{
if (p)
delete p;
}