projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c736d81
)
- Don't try to free a pointer if it was not allocated.
author
Aleksey Bragin
<aleksey@reactos.org>
Mon, 8 Oct 2007 12:37:44 +0000
(12:37 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Mon, 8 Oct 2007 12:37:44 +0000
(12:37 +0000)
svn path=/trunk/; revision=29456
reactos/drivers/network/afd/afd/main.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/network/afd/afd/main.c
b/reactos/drivers/network/afd/afd/main.c
index
e439a05
..
ade3649
100644
(file)
--- a/
reactos/drivers/network/afd/afd/main.c
+++ b/
reactos/drivers/network/afd/afd/main.c
@@
-290,7
+290,7
@@
AfdDisconnect(PDEVICE_OBJECT DeviceObject, PIRP Irp,
FCB->AddressFrom,
ConnInfo);
- ExFreePool( ConnInfo );
+
if (ConnInfo)
ExFreePool( ConnInfo );
return UnlockAndMaybeComplete( FCB, Status, Irp, 0, NULL, TRUE );
}