Fix mismatched new[]/delete in a test case.
Use wxDELETEA() as the comment said we did -- except that we didn't.
This commit is contained in:
parent
6f2fdbae6a
commit
893102b926
@ -108,7 +108,7 @@ void MiscTestCase::Delete()
|
||||
CPPUNIT_ASSERT( array != NULL );
|
||||
|
||||
// Check that wxDELETEA sets the pointer to NULL:
|
||||
wxDELETE( array );
|
||||
wxDELETEA( array );
|
||||
CPPUNIT_ASSERT( array == NULL );
|
||||
|
||||
// this results in compilation error, as it should
|
||||
|
Loading…
Reference in New Issue
Block a user