cppcheck/testmemcheck1/testmemcheck1.cpp

8 lines
62 B
C++
Raw Normal View History

void f()
{
int *a = new int[10];
delete a;
}