mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
fixed small bug
svn path=/trunk/; revision=6935
This commit is contained in:
parent
d7faa0cc7a
commit
10e81a9d76
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: cursoricon.c,v 1.30 2003/12/09 19:34:33 weiden Exp $ */
|
||||
/* $Id: cursoricon.c,v 1.31 2003/12/09 19:38:47 weiden Exp $ */
|
||||
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
|
||||
|
@ -250,6 +250,7 @@ IntFindExistingCurIconObject(PWINSTATION_OBJECT WinStaObject, HMODULE hModule,
|
|||
Object = (PCURICON_OBJECT)Current->Handles[i].ObjectBody;
|
||||
if(Object && (Object->hModule == hModule) && (Object->hRsrc == hRsrc))
|
||||
{
|
||||
ObmReferenceObject(Object);
|
||||
ExReleaseFastMutex(&HandleTable->ListLock);
|
||||
return Object;
|
||||
}
|
||||
|
@ -373,7 +374,6 @@ NtUserCreateCursorIconHandle(PICONINFO IconInfo, BOOL Indirect)
|
|||
}
|
||||
}
|
||||
|
||||
IntReleaseCurIconObject(CurIconObject);
|
||||
ObDereferenceObject(WinStaObject);
|
||||
return Ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue