ICU-6076 There is no need to use the internal malloc API.

X-SVN-Rev: 23088
This commit is contained in:
George Rhoten 2007-12-14 10:29:06 +00:00
parent 1725c5899a
commit b29d3066db

View file

@ -1567,7 +1567,7 @@ TestSwapData() {
UErrorCode errorCode = U_ZERO_ERROR;
int32_t i;
buffer=(uint8_t *)uprv_malloc(2*SWAP_BUFFER_SIZE);
buffer=(uint8_t *)malloc(2*SWAP_BUFFER_SIZE);
if(buffer==NULL) {
log_err("unable to allocate %d bytes\n", 2*SWAP_BUFFER_SIZE);
return;
@ -1663,7 +1663,7 @@ TestSwapData() {
}
}
uprv_free(buffer);
free(buffer);
}