ICU-770 Couldn't properly fix this memory leak. See j1492 for details.

X-SVN-Rev: 6845
This commit is contained in:
George Rhoten 2001-11-13 22:27:53 +00:00
parent 7466176e30
commit 14014361e1

View file

@ -165,6 +165,7 @@ static void initCache(UErrorCode *status) {
}
/* Works just like ucnv_flushCache() */
/* TODO: figure out why fCountExisting may not go to zero. Do not make this function public yet. */
static int32_t ures_flushCache()
{
UResourceDataEntry *resB = NULL;
@ -189,7 +190,8 @@ static int32_t ures_flushCache()
* Don't worry about the parents of this node.
* Those will eventually get deleted too, if not already.
*/
if (resB->fCountExisting == 0)
/* TODO: figure out why fCountExisting may not go to zero. Do not make this function public yet. */
/* if (resB->fCountExisting == 0)*/
{
rbDeletedNum++;
uhash_removeElement(cache, e);