[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Sat, 20 Mar 2010 16:48:00 +0000 (16:48 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 20 Mar 2010 16:48:00 +0000 (16:48 +0000)
commit7d83ca07e81e4211f78aa866912b8983d4798de3
tree0d07ced5156a2b03e124f2d2dd2fcc394d91aaeb
parentb751e1e10bc0f8292da576917dc6fc61b81d12c7
[NTOSKRNL]
 - Fix a memory leak of the allocated IO_STATUS_BLOCK
 - Don't free unallocated memory
 - Send the IRP with the correct MajorFunction
 - Use IoBuildAsynchronousFsdRequest instead of IoBuildSynchronousFsdRequest (fixes potiential null pointer access when attempting to set the wait event which is NULL)
 - Set the correct stack parameters for the IRPs

svn path=/trunk/; revision=46285
reactos/ntoskrnl/po/power.c