Author: jgardou
Date: Mon Jul 28 13:03:19 2014
New Revision: 63748
URL:
http://svn.reactos.org/svn/reactos?rev=63748&view=rev
Log:
[WIN32K]
- Pass the right arguments to the driver-supplied function when deleting a DRIVEROBJ
Modified:
trunk/reactos/win32ss/gdi/eng/driverobj.c
Modified: trunk/reactos/win32ss/gdi/eng/driverobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/driverobj.…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/driverobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/driverobj.c [iso-8859-1] Mon Jul 28 13:03:19 2014
@@ -29,7 +29,7 @@
pFreeProc = pedo->drvobj.pFreeProc;
if (pFreeProc)
{
- NT_VERIFY(pFreeProc(pedo->drvobj.pvObj));
+ NT_VERIFY(pFreeProc(&pedo->drvobj));
}
}
@@ -88,7 +88,7 @@
/* Manually call cleanup callback */
if (bCallBack)
{
- if (!pedo->drvobj.pFreeProc(pedo->drvobj.pvObj))
+ if (!pedo->drvobj.pFreeProc(&pedo->drvobj))
{
/* Callback failed */
DRIVEROBJ_UnlockObject(pedo);