Author: jimtabor
Date: Wed Jul 13 03:04:20 2016
New Revision: 71916
URL:
http://svn.reactos.org/svn/reactos?rev=71916&view=rev
Log:
[NtUser]
- Fix crash in User32:win:test_winproc_handles. See CORE-11368.
Modified:
trunk/reactos/win32ss/user/ntuser/callproc.c
Modified: trunk/reactos/win32ss/user/ntuser/callproc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/callpr…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/callproc.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/callproc.c [iso-8859-1] Wed Jul 13 03:04:20 2016
@@ -50,7 +50,7 @@
}
/* Release the extra reference (UserCreateObject added 2 references) */
- UserDereferenceObject(NewCallProc);
+ if (NewCallProc != NULL) UserDereferenceObject(NewCallProc);
return NewCallProc;
}