Author: hpoussin
Date: Thu Feb 7 21:04:03 2008
New Revision: 32192
URL:
http://svn.reactos.org/svn/reactos?rev=32192&view=rev
Log:
Fill output variable before returning
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c Thu Feb 7 21:04:03 2008
@@ -1270,6 +1270,7 @@
{
/* No resource needed for this device */
DeviceNode->ResourceList = NULL;
+ *pRequiredSize = 0;
return STATUS_SUCCESS;
}