Author: jimtabor
Date: Mon Nov 4 00:58:32 2013
New Revision: 60861
URL:
http://svn.reactos.org/svn/reactos?rev=60861&view=rev
Log:
- Init module handle.
Modified:
trunk/reactos/win32ss/user/user32/windows/class.c
trunk/reactos/win32ss/user/user32/windows/window.c
Modified: trunk/reactos/win32ss/user/user32/windows/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/class.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/class.c [iso-8859-1] Mon Nov 4 00:58:32
2013
@@ -300,7 +300,7 @@
{
UNICODE_STRING ClassName = {0};
LPCSTR pszMenuName;
- HMODULE hLibModule;
+ HMODULE hLibModule = NULL;
DWORD save_error;
BOOL Ret, ClassFound = FALSE;
@@ -401,7 +401,7 @@
{
UNICODE_STRING ClassName = {0};
LPWSTR pszMenuName;
- HMODULE hLibModule;
+ HMODULE hLibModule = NULL;
DWORD save_error;
BOOL Ret, ClassFound = FALSE;
@@ -1429,7 +1429,7 @@
UNICODE_STRING MenuName = {0};
CLSMENUNAME clsMenuName;
ANSI_STRING AnsiMenuName;
- HMODULE hLibModule;
+ HMODULE hLibModule = NULL;
DWORD save_error;
BOOL ClassFound = FALSE;
Modified: trunk/reactos/win32ss/user/user32/windows/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/window.c [iso-8859-1] Mon Nov 4 00:58:32
2013
@@ -169,7 +169,7 @@
UNICODE_STRING ClassName;
WNDCLASSEXA wceA;
WNDCLASSEXW wceW;
- HMODULE hLibModule;
+ HMODULE hLibModule = NULL;
DWORD save_error;
BOOL Unicode, ClassFound = FALSE;
HWND Handle = NULL;