From 893102b9269710150e1398cd141b983be188c9af Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 19 Jun 2015 16:32:14 +0200 Subject: [PATCH] Fix mismatched new[]/delete in a test case. Use wxDELETEA() as the comment said we did -- except that we didn't. --- tests/misc/misctests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/misctests.cpp b/tests/misc/misctests.cpp index 05df993a4a..b6dd757513 100644 --- a/tests/misc/misctests.cpp +++ b/tests/misc/misctests.cpp @@ -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