]> granicus.if.org Git - icu/commitdiff
ICU-11939 Close resource bundle after use
authorMichael Ow <mow@svn.icu-project.org>
Wed, 21 Oct 2015 20:39:15 +0000 (20:39 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Wed, 21 Oct 2015 20:39:15 +0000 (20:39 +0000)
X-SVN-Rev: 38078

icu4c/source/common/wintz.c

index fa04588e38fae1809f5aa82b3bdc01e79c60b0b2..94db62fcc3899ef9f82983baf254300567f139c9 100644 (file)
@@ -352,6 +352,7 @@ uprv_detectWindowsTimeZone() {
                     tryPreVistaFallback = FALSE;
                 }
             }
+            ures_close(winTZ);
         }
     }