- 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:
Gregor Schneider 2008-12-18 19:38:01 +00:00
parent 36ac3e9c57
commit b34362b5a5

View file

@ -265,6 +265,8 @@ GetLayoutName(LPTSTR szLayoutNum, LPTSTR szName)
RegCloseKey(hKey);
return TRUE;
}
RegCloseKey(hKey);
}
return FALSE;