ICU-5117 Fix memory leak.

X-SVN-Rev: 19515
This commit is contained in:
George Rhoten 2006-04-04 16:48:23 +00:00
parent 94f0de1e3a
commit ce8b1ede60

View File

@ -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.