]> granicus.if.org Git - icu/commitdiff
ICU-12798 Missing #ifdef in putil_cleanup(), broke AIX.
authorAndy Heninger <andy.heninger@gmail.com>
Tue, 18 Oct 2016 17:34:00 +0000 (17:34 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Tue, 18 Oct 2016 17:34:00 +0000 (17:34 +0000)
X-SVN-Rev: 39469

icu4c/source/common/putil.cpp

index d68e8da78fc564d16ccfd853fb9b0bc3053d8df8..03f6548689d23070621eb76c4cc85b166911d1ad 100644 (file)
@@ -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) {