Bug 257803 Possible RegistryKey Leak in nsWindowsShellService

bustage fix


git-svn-id: svn://10.0.0.236/trunk@167860 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2005-01-16 23:26:19 +00:00
parent 33d2300b28
commit 3e81dfb9a6

View File

@ -597,7 +597,7 @@ nsWindowsShellService::SetRegKey(const char* aKeyName, const char* aValueName,
(LPBYTE)aValue, nsDependentCString(aValue).Length());
// Close the key we opened.
::RegClosekey(theKey);
::RegCloseKey(theKey);
}
NS_IMETHODIMP