mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-6076 There is no need to use the internal malloc API.
X-SVN-Rev: 23088
This commit is contained in:
parent
1725c5899a
commit
b29d3066db
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue