ICU-12908 getTZKeyName in common/wintz.cpp leaks registry handle
X-SVN-Rev: 39555
This commit is contained in:
parent
0057324249
commit
645b425d97
@ -216,6 +216,8 @@ static LONG getTZKeyName(char* tzKeyName, int32_t length) {
|
||||
&cbData);
|
||||
}
|
||||
|
||||
RegCloseKey(hkey);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user