Module: wine Branch: master Commit: 3fd8a8f2095a0de132890423d8db8b994ac9c8ec URL: http://source.winehq.org/git/wine.git/?a=commit;h=3fd8a8f2095a0de132890423d8...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Nov 13 13:49:20 2017 +0300
uxtheme: Return NULL file handle on OpenThemeFile() failure.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/uxtheme/msstyles.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/uxtheme/msstyles.c b/dlls/uxtheme/msstyles.c index 16cfbf5..e471c3c 100644 --- a/dlls/uxtheme/msstyles.c +++ b/dlls/uxtheme/msstyles.c @@ -188,6 +188,7 @@ HRESULT MSSTYLES_OpenThemeFile(LPCWSTR lpThemeFile, LPCWSTR pszColorName, LPCWST return S_OK;
invalid_theme: + *tf = NULL; if(hTheme) FreeLibrary(hTheme); return hr; }