mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-22532 Resolve new / free() mismatch.
This commit is contained in:
parent
4f0c2ca71c
commit
bae39adf67
1 changed files with 1 additions and 1 deletions
|
@ -2406,7 +2406,7 @@ ultag_close(ULanguageTag* langtag) {
|
|||
ExtensionListEntry *curExt = langtag->extensions;
|
||||
while (curExt) {
|
||||
ExtensionListEntry *nextExt = curExt->next;
|
||||
uprv_free(curExt);
|
||||
delete curExt;
|
||||
curExt = nextExt;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue