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 77fb8cb8c1
commit 8b4dbf8ebf

View File

@@ -90,7 +90,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