mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NtGDI] Set owner after changing object type.
This commit is contained in:
parent
d9f8b8b033
commit
72f115d6ed
1 changed files with 1 additions and 1 deletions
|
@ -1501,7 +1501,7 @@ GDIOBJ_ConvertFromStockObj(HGDIOBJ *phObj)
|
|||
|
||||
/* Update the entry */
|
||||
pentry->FullUnique &= ~GDI_ENTRY_STOCK_MASK;
|
||||
pentry->ObjectOwner.ulObj = 0;
|
||||
pentry->ObjectOwner.ulObj = PtrToUlong(PsGetCurrentProcessId());
|
||||
|
||||
/* Get the pointer to the BASEOBJECT */
|
||||
pobj = pentry->einfo.pobj;
|
||||
|
|
Loading…
Reference in a new issue