ICU-12908 getTZKeyName in common/wintz.cpp leaks registry handle

X-SVN-Rev: 39555
This commit is contained in:
Jeff Genovy 2017-01-13 01:28:50 +00:00
parent 0057324249
commit 645b425d97

View File

@ -216,6 +216,8 @@ static LONG getTZKeyName(char* tzKeyName, int32_t length) {
&cbData);
}
RegCloseKey(hkey);
return result;
}