ICU-4703 BEAM fix: it's OK to delete a null instance...

X-SVN-Rev: 18375
This commit is contained in:
Eric Mader 2005-08-01 22:11:01 +00:00
parent 6cafd1716c
commit cd7c10701c

View File

@ -878,7 +878,7 @@ void TransliteratorIDParser::init(UErrorCode &status) {
special_inverses = NULL; special_inverses = NULL;
} }
umtx_unlock(&LOCK); umtx_unlock(&LOCK);
delete special_inverses; delete special_inverses; /*null instance*/
ucln_i18n_registerCleanup(UCLN_I18N_TRANSLITERATOR, transliterator_cleanup); ucln_i18n_registerCleanup(UCLN_I18N_TRANSLITERATOR, transliterator_cleanup);
} }