Fix some memory leaks in the tests

This commit is contained in:
Paul Cornett
2017-10-01 09:41:49 -07:00
parent 8c353236ac
commit fc7f20c419
6 changed files with 10 additions and 0 deletions

View File

@@ -269,6 +269,8 @@ void Base64TestCase::EncodeDecodeRandom()
size_t realsize = size;
CPPUNIT_ASSERT(wxBase64Decode(buff2, realsize, (char *)buff, size));
CPPUNIT_ASSERT(wxBase64Encode(buff2, size, buff2, realsize));
delete[] buff2;
delete[] buff;
}
void Base64TestCase::DecodeInvalid()