cppcheck/testmemcheck2/testmemcheck2.cpp

8 lines
69 B
C++

Fred *newfred()
{
Fred *f = new Fred();
return f;
}