Author: akhaldi
Date: Fri Dec 18 11:04:11 2015
New Revision: 70393
URL:
http://svn.reactos.org/svn/reactos?rev=70393&view=rev
Log:
[0.4.0] * Apply the hackfix from CORE-9836 by Joachim Henze.
Modified:
branches/ros-branch-0_4_0/reactos/win32ss/user/ntuser/class.c
Modified: branches/ros-branch-0_4_0/reactos/win32ss/user/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_0/reactos/win32s…
==============================================================================
--- branches/ros-branch-0_4_0/reactos/win32ss/user/ntuser/class.c [iso-8859-1] (original)
+++ branches/ros-branch-0_4_0/reactos/win32ss/user/ntuser/class.c [iso-8859-1] Fri Dec 18
11:04:11 2015
@@ -267,8 +267,11 @@
if (Class->spicn)
UserDereferenceObject(Class->spicn);
- if (Class->spcur)
+ if (Class->spcur && !UserObjectInDestroy(Class->spcur))
+ {
UserDereferenceObject(Class->spcur);
+ Class->spcur = NULL;
+ }
if (Class->spicnSm)
{
UserDereferenceObject(Class->spicnSm);