ICU-20388 ICU4C: intltest fails with a "Debug Assertion Break" on MSVC when compiled for Debug.

Need to use free() with malloc() instead of uprv_free().
This commit is contained in:
Jeff Genovy 2019-02-02 22:59:32 -08:00
parent 00596d3027
commit 654278627a

View file

@ -2230,8 +2230,8 @@ void NumberFormatTest::TestCurrencyUnit(void){
assertEquals("Copying from meter should fail", ec, U_ILLEGAL_ARGUMENT_ERROR);
assertEquals("Copying should not give uninitialized ISO code", u"", failure.getISOCurrency());
uprv_free(EUR);
uprv_free(EUR8);
free(EUR);
free(EUR8);
}
void NumberFormatTest::TestCurrencyAmount(void){