mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -265,6 +265,8 @@ GetLayoutName(LPTSTR szLayoutNum, LPTSTR szName)
|
||||
RegCloseKey(hKey);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user