Author: jgardou
Date: Tue Oct 21 18:59:34 2014
New Revision: 64875
URL:
http://svn.reactos.org/svn/reactos?rev=64875&view=rev
Log:
[WIN32K]
- Refcount++ the process info when we're adding it to a cursor process list.
CORE-8661
Modified:
trunk/reactos/win32ss/user/ntuser/cursoricon.c
Modified: trunk/reactos/win32ss/user/ntuser/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/cursor…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/cursoricon.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/cursoricon.c [iso-8859-1] Tue Oct 21 18:59:34 2014
@@ -169,6 +169,7 @@
}
InsertHeadList(&CurIcon->ProcessList, &Current->ListEntry);
Current->Process = Win32Process;
+ IntReferenceProcessInfo(Win32Process);
return TRUE;
}
@@ -273,6 +274,7 @@
{
bFound = TRUE;
bListEmpty = RemoveEntryList(&Current->ListEntry);
+ IntDereferenceProcessInfo(ppi);
break;
}
}