From 28c8696e5bbdcf2bfcbc12c9561e99a9d29cfe85 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Tue, 18 Oct 2016 17:34:00 +0000 Subject: [PATCH] ICU-12798 Missing #ifdef in putil_cleanup(), broke AIX. X-SVN-Rev: 39469 --- icu4c/source/common/putil.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {