Commit 6bab6ce8 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

shcore: Fix double free on error path (Coverity).

parent ff6eadc6
......@@ -1244,7 +1244,6 @@ IStream * WINAPI SHOpenRegStream2W(HKEY hKey, const WCHAR *subkey, const WCHAR *
}
}
heap_free(buff);
if (hStrKey)
RegCloseKey(hStrKey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment