core: fix leak in CommandLineCharStarTestCase

This commit is contained in:
Gabriel Ferreira
2022-10-26 16:39:04 -03:00
parent fdef5371aa
commit 0d6916f431

View File

@@ -551,6 +551,7 @@ CommandLineCharStarTestCase::DoRun()
std::string value{charbuf};
NS_TEST_ASSERT_MSG_EQ(value, "deadbeef", "CommandLine did not correctly set a char* buffer");
delete[] charbuf;
}
/**