ICU-770 Memory cleanup
X-SVN-Rev: 6940
This commit is contained in:
parent
851b788de5
commit
2edff32a92
@ -1694,8 +1694,14 @@ U_NAMESPACE_END
|
||||
*/
|
||||
U_CFUNC UBool transliterator_cleanup(void) {
|
||||
TitlecaseTransliterator::cleanup();
|
||||
delete registry;
|
||||
registry = 0;
|
||||
if (registry) {
|
||||
delete registry;
|
||||
registry = NULL;
|
||||
}
|
||||
if (specialInverses) {
|
||||
delete specialInverses;
|
||||
specialInverses = NULL;
|
||||
}
|
||||
umtx_destroy(®istryMutex);
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user