mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +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
1 changed files with 0 additions and 9 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue