mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-12908 getTZKeyName in common/wintz.cpp leaks registry handle
X-SVN-Rev: 39555
This commit is contained in:
parent
0057324249
commit
645b425d97
1 changed files with 2 additions and 0 deletions
|
@ -216,6 +216,8 @@ static LONG getTZKeyName(char* tzKeyName, int32_t length) {
|
|||
&cbData);
|
||||
}
|
||||
|
||||
RegCloseKey(hkey);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue