ICU-6176 Fix some Coverity warnings

X-SVN-Rev: 23416
This commit is contained in:
George Rhoten 2008-02-13 10:05:32 +00:00
parent 61d27ac692
commit a1e9519c40

View File

@ -1,7 +1,7 @@
/*
*******************************************************************************
*
* Copyright (C) 2003-2007, International Business Machines
* Copyright (C) 2003-2008, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@ -204,9 +204,9 @@ initCache(UErrorCode *status) {
newCache = NULL;
}
umtx_unlock(&usprepMutex);
if(newCache != NULL) {
uhash_close(newCache);
}
}
if(newCache != NULL) {
uhash_close(newCache);
}
}
}