Author: gschneider
Date: Thu Dec 18 13:38:01 2008
New Revision: 38176
URL:
http://svn.reactos.org/svn/reactos?rev=38176&view=rev
Log:
- Close registry key handle of both RegQueryValueEx calls fail. I don't see anything
else leaking.
Modified:
trunk/reactos/base/applications/kbswitch/kbswitch.c
Modified: trunk/reactos/base/applications/kbswitch/kbswitch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
==============================================================================
--- trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] Thu Dec 18 13:38:01
2008
@@ -265,6 +265,8 @@
RegCloseKey(hKey);
return TRUE;
}
+
+ RegCloseKey(hKey);
}
return FALSE;