]> granicus.if.org Git - icu/commit
ICU-13417 Improved error handling in Locale::create(Unicode)?Keywords().
authorFredrik Roubert <roubert@google.com>
Fri, 14 Sep 2018 20:16:59 +0000 (13:16 -0700)
committerShane Carr <shane@unicode.org>
Thu, 27 Sep 2018 21:27:39 +0000 (14:27 -0700)
commit8985e60d381fbd15aef66c2df4d2395162ca6fc4
treed7c1c98f4c06da5bdb6769dfba1d1fd23100e6b2
parent6eb53e0884492c365a2da234b433a7daaaf0a2d6
ICU-13417 Improved error handling in Locale::create(Unicode)?Keywords().

Follow-up from pull request #117:

Specify buffer size in only one place, explicitly check status before
proceeding and set status = U_MEMORY_ALLOCATION_ERROR if new fails.
icu4c/source/common/locid.cpp