From 8b4dbf8ebf31b057bb89e067dca59e63542650bf 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 54fd941def..3d9d1dd497 100644 --- a/tests/misc/misctests.cpp +++ b/tests/misc/misctests.cpp @@ -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