+2198. [bug] win32: RegCloseKey() could be called when
+ RegOpenKeyEx() failed. [RT #16911]
+
2197. [bug] Add INSIST to catch negative responses which are
not setting the event result code appropriately.
[RT #16909]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: ntpaths.c,v 1.9 2004/03/05 05:11:58 marka Exp $ */
+/* $Id: ntpaths.c,v 1.10 2007/06/18 03:05:46 marka Exp $ */
/*
* This module fetches the required path information that is specific
if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL,
(LPBYTE)namedBase, &baseLen) != ERROR_SUCCESS)
keyFound = FALSE;
+ RegCloseKey(hKey);
}
-
- RegCloseKey(hKey);
GetSystemDirectory(systemDir, MAX_PATH);
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: lwconfig.c,v 1.4 2006/10/03 23:50:52 marka Exp $ */
+/* $Id: lwconfig.c,v 1.5 2007/06/18 03:05:46 marka Exp $ */
/*
* We do this so that we may incorporate everything in the main routines
if (RegQueryValueEx(hKey, "SearchList", NULL, NULL,
(LPBYTE)searchlist, &searchlen) != ERROR_SUCCESS)
keyFound = FALSE;
+ RegCloseKey(hKey);
}
- RegCloseKey(hKey);
-
confdata->searchnxt = 0;
idx = 0;