ICU-1608 fix a bug in uprv_uca_cloneTempTable() that crashes

uprv_uca_closeTempTable().

X-SVN-Rev: 7443
This commit is contained in:
Yves Arrouye 2002-01-17 04:25:48 +00:00
parent 6a75128078
commit ba0e60f683
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
icu (2.0-2) unstable; urgency=low
* Fixed a bug in uprv_uca_cloneTempTable().
Closes: 128484
* Update Debian bugs status.
Closes: 104642
-- Yves Arrouye <yves@debian.org> Wed, 16 Jan 2002 20:45:42 -0800
icu (2.0-1) unstable; urgency=low
* Update to ICU version 2.0.

View file

@ -202,7 +202,7 @@ uprv_uca_cloneTempTable(tempUCATable *t, UErrorCode *status) {
r->expansions->CEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*t->expansions->size);
uprv_memcpy(r->expansions->CEs, t->expansions->CEs, sizeof(uint32_t)*t->expansions->size);
} else {
t->expansions->CEs = NULL;
r->expansions->CEs = NULL;
}
}