Module: wine Branch: master Commit: 6bab6ce8e158d30b5dc59d5c642c482d95ea6311 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6bab6ce8e158d30b5dc59d5c6...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Jan 8 18:18:33 2019 +0300
shcore: Fix double free on error path (Coverity).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shcore/main.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c index ac625fb..973b7c7 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);