mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[NTOS]: Heh Arch, use the Process parameter of the function, instead of PsGetCurrentProcess()!! (bug found by Thomas, because I quickly copied the code from ke/i386/v86vdm.c function Ke386CallBios lines 693 and below without adapting it to the present case ^^).
svn path=/trunk/; revision=66794
This commit is contained in:
@@ -27,15 +27,15 @@ NTAPI
|
||||
PspDeleteVdmObjects(PEPROCESS Process)
|
||||
{
|
||||
/* If there are no VDM objects, just exit */
|
||||
if (PsGetCurrentProcess()->VdmObjects == NULL)
|
||||
if (Process->VdmObjects == NULL)
|
||||
return;
|
||||
|
||||
/* FIXME: Need to do more than just freeing the main VdmObjects member! */
|
||||
UNIMPLEMENTED;
|
||||
|
||||
/* Free VDM objects */
|
||||
ExFreePoolWithTag(PsGetCurrentProcess()->VdmObjects, ' eK');
|
||||
PsGetCurrentProcess()->VdmObjects = NULL;
|
||||
ExFreePoolWithTag(Process->VdmObjects, ' eK');
|
||||
Process->VdmObjects = NULL;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
||||
Reference in New Issue
Block a user