mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-1733 Forgot a change from Lotus.
X-SVN-Rev: 7853
This commit is contained in:
parent
b42973bf54
commit
ff18de7c2a
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) {
|
|||
return FALSE;
|
||||
}
|
||||
uprv_memcpy(newElems, elements, sizeof(elements[0]) * count);
|
||||
delete[] elements;
|
||||
uprv_free(elements);
|
||||
elements = newElems;
|
||||
capacity = newCap;
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue