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:
Vadim Zeitlin 2015-06-19 16:32:14 +02:00
parent 6f2fdbae6a
commit 893102b926

View File

@ -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