]> granicus.if.org Git - icu/commit
ICU-13530 Use LocalPointer instead of raw new in umutablecptrie.cpp (#59)
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Wed, 15 Aug 2018 21:16:08 +0000 (14:16 -0700)
committerShane Carr <shane@unicode.org>
Thu, 27 Sep 2018 21:27:38 +0000 (14:27 -0700)
commit01ca8fb5554f1e4f3a722353de44baee3e3fc71b
tree8e3d83245f4e23e274987a95bc18a589e8f94b95
parent92ed8b8561e7ffeeb5889f4da793e7475bc6546f
ICU-13530 Use LocalPointer instead of raw new in umutablecptrie.cpp (#59)

Use LocalPointer instead of raw new in umutablecptrie.cpp so that an ErrorCode will be set in the case of out-of-memory (OOM) failures.
icu4c/source/common/umutablecptrie.cpp