From ce8b1ede60e32be6a755d175d7c899e2b0c8d72c Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 4 Apr 2006 16:48:23 +0000 Subject: [PATCH] ICU-5117 Fix memory leak. X-SVN-Rev: 19515 --- icu4c/source/common/brkiter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/brkiter.cpp b/icu4c/source/common/brkiter.cpp index bc5d299d79..b359953e12 100644 --- a/icu4c/source/common/brkiter.cpp +++ b/icu4c/source/common/brkiter.cpp @@ -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.