mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[WIN32K]
- Pass the right arguments to the driver-supplied function when deleting a DRIVEROBJ svn path=/trunk/; revision=63748
This commit is contained in:
parent
b6f852e3a4
commit
addf99a079
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ DRIVEROBJ_vCleanup(PVOID pObject)
|
|||
pFreeProc = pedo->drvobj.pFreeProc;
|
||||
if (pFreeProc)
|
||||
{
|
||||
NT_VERIFY(pFreeProc(pedo->drvobj.pvObj));
|
||||
NT_VERIFY(pFreeProc(&pedo->drvobj));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ EngDeleteDriverObj(
|
|||
/* Manually call cleanup callback */
|
||||
if (bCallBack)
|
||||
{
|
||||
if (!pedo->drvobj.pFreeProc(pedo->drvobj.pvObj))
|
||||
if (!pedo->drvobj.pFreeProc(&pedo->drvobj))
|
||||
{
|
||||
/* Callback failed */
|
||||
DRIVEROBJ_UnlockObject(pedo);
|
||||
|
|
Loading…
Reference in a new issue