ICU-6554 Fix a compilation error on Windows introduced by the previous change.

X-SVN-Rev: 24700
This commit is contained in:
Yoshito Umaoka 2008-10-02 14:44:44 +00:00
parent f904dc9003
commit 27305576ac

View file

@ -985,12 +985,14 @@ uprv_tzname(int n)
U_CAPI void U_EXPORT2
uprv_free_tzname(void)
{
#ifdef SEARCH_TZFILE
/* Only care if memory allocation due to searching for system timezone file. */
if (defaultTZstatus == TRUE) {
uprv_free(gTimeZoneBufferPtr);
gTimeZoneBufferPtr = NULL;
defaultTZstatus = FALSE;
}
#endif
}