mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
[ntoskrnl/ps]
- Remove mistakenly committed ASSERTs that were used during my tests. svn path=/trunk/; revision=48858
This commit is contained in:
parent
b83eb0a472
commit
0059b61f9c
|
@ -281,7 +281,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
/* We couldn't create the CID, dereference the thread and fail */
|
||||
ObDereferenceObject(Thread);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
}
|
||||
|
||||
|
@ -304,7 +303,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
/* Fail */
|
||||
ObDereferenceObject(Thread);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
return STATUS_PROCESS_IS_TERMINATING;
|
||||
}
|
||||
|
||||
|
@ -319,7 +317,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
ExReleaseRundownProtection(&Process->RundownProtect);
|
||||
ObDereferenceObject(Thread);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -364,8 +361,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
ExReleaseRundownProtection(&Process->RundownProtect);
|
||||
ObDereferenceObject(Thread);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -441,8 +436,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
/* Dereference completely to kill it */
|
||||
ObDereferenceObjectEx(Thread, 2);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -526,8 +519,6 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
|||
/* Close its handle, killing it */
|
||||
ObCloseHandle(ThreadHandle, PreviousMode);
|
||||
ObDereferenceObject(Process);
|
||||
ASSERT(FALSE);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue