Skip to content

Commit 867f357

Browse files
committed
CPP: Correct the test.
1 parent 2fdd33e commit 867f357

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Critical/NewFree

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Critical/NewFree/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,5 +422,5 @@ void test13()
422422
MyPointer13 myPointer2(myBuffer);
423423
MyPointer13 myPointer3(new char[100]);
424424

425-
delete myPointer2.getPointer(); // GOOD
425+
delete myPointer3.getPointer(); // GOOD
426426
}

0 commit comments

Comments
 (0)