mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- Close registry key handle of both RegQueryValueEx calls fail. I don't see anything else leaking.
svn path=/trunk/; revision=38176
This commit is contained in:
parent
36ac3e9c57
commit
b34362b5a5
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,8 @@ GetLayoutName(LPTSTR szLayoutNum, LPTSTR szName)
|
|||
RegCloseKey(hKey);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue