diff --git a/reactos/win32ss/user/ntuser/cursoricon.c b/reactos/win32ss/user/ntuser/cursoricon.c index 4c6c4ef2ba8..574d229f3ba 100644 --- a/reactos/win32ss/user/ntuser/cursoricon.c +++ b/reactos/win32ss/user/ntuser/cursoricon.c @@ -1077,6 +1077,12 @@ NtUserSetCursor( if (pcurOld->CURSORF_flags & CURSORF_GLOBAL) { TRACE("Returning Global Cursor hcur %p\n",hOldCursor); + + if (pcurOld->head.cLockObj > 2) // Throttle down to 2. + { + UserDereferenceObject(pcurOld); + } + goto leave; }