ICU-5117 Fix memory leak.
X-SVN-Rev: 19515
This commit is contained in:
parent
94f0de1e3a
commit
ce8b1ede60
@ -71,7 +71,7 @@ BreakIterator::buildInstance(const Locale& loc, const char *type, int32_t kind,
|
||||
brk_index.txt */
|
||||
if(status==U_USING_DEFAULT_WARNING){
|
||||
status=U_ZERO_ERROR;
|
||||
b = ures_open(U_ICUDATA_BRKITR, "", &status);
|
||||
ures_openFillIn(b, U_ICUDATA_BRKITR, "", &status);
|
||||
}
|
||||
|
||||
// Get the "boundaries" array.
|
||||
|
Loading…
Reference in New Issue
Block a user