From: Andy Heninger Date: Tue, 18 Oct 2016 17:34:00 +0000 (+0000) Subject: ICU-12798 Missing #ifdef in putil_cleanup(), broke AIX. X-Git-Tag: milestone-59-0-1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28c8696e5bbdcf2bfcbc12c9561e99a9d29cfe85;p=icu ICU-12798 Missing #ifdef in putil_cleanup(), broke AIX. X-SVN-Rev: 39469 --- diff --git a/icu4c/source/common/putil.cpp b/icu4c/source/common/putil.cpp index d68e8da78fc..03f6548689d 100644 --- a/icu4c/source/common/putil.cpp +++ b/icu4c/source/common/putil.cpp @@ -1177,8 +1177,10 @@ static UBool U_CALLCONV putil_cleanup(void) gTimeZoneFilesDirectory = NULL; gTimeZoneFilesInitOnce.reset(); +#ifdef SEARCH_TZFILE delete gSearchTZFileResult; gSearchTZFileResult = NULL; +#endif #if U_POSIX_LOCALE || U_PLATFORM_USES_ONLY_WIN32_API if (gCorrectedPOSIXLocale) {