mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-6554 Fix a compilation error on Windows introduced by the previous change.
X-SVN-Rev: 24700
This commit is contained in:
parent
f904dc9003
commit
27305576ac
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue