projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b4bed
)
- Fix a code typo
author
Cameron Gutman
<aicommander@gmail.com>
Sat, 6 Sep 2008 20:52:54 +0000
(20:52 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Sat, 6 Sep 2008 20:52:54 +0000
(20:52 +0000)
svn path=/branches/aicom-network-fixes/; revision=36004
drivers/network/tcpip/tcpip/main.c
patch
|
blob
|
history
diff --git
a/drivers/network/tcpip/tcpip/main.c
b/drivers/network/tcpip/tcpip/main.c
index
a7ef858
..
b390b98
100644
(file)
--- a/
drivers/network/tcpip/tcpip/main.c
+++ b/
drivers/network/tcpip/tcpip/main.c
@@
-711,8
+711,8
@@
DriverEntry(
/* Setup network layer and transport layer entities */
KeInitializeSpinLock(&EntityListLock);
EntityList = ExAllocatePool(NonPagedPool, sizeof(TDIEntityID) * MAX_TDI_ENTITIES );
- if (!
NT_SUCCESS(Status)
) {
-
TI_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
+ if (!
EntityList
) {
+ TI_DbgPrint(MIN_TRACE, ("Insufficient resources.\n"));
TiUnload(DriverObject);
return STATUS_INSUFFICIENT_RESOURCES;
}