[PATCH] shcore: Fix double free on error path (Coverity).
8 Jan
2019
8 Jan
'19
9:18 a.m.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- dlls/shcore/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c index ac625fb746..973b7c7a03 100644 --- a/dlls/shcore/main.c +++ b/dlls/shcore/main.c @@ -1244,7 +1244,6 @@ IStream * WINAPI SHOpenRegStream2W(HKEY hKey, const WCHAR *subkey, const WCHAR * } } - heap_free(buff); if (hStrKey) RegCloseKey(hStrKey); -- 2.20.1
2620
Age (days ago)
2620
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov