Author: fireball
Date: Mon Oct 8 16:37:44 2007
New Revision: 29456
URL:
http://svn.reactos.org/svn/reactos?rev=29456&view=rev
Log:
- Don't try to free a pointer if it was not allocated.
Modified:
trunk/reactos/drivers/network/afd/afd/main.c
Modified: trunk/reactos/drivers/network/afd/afd/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/ma…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/main.c (original)
+++ trunk/reactos/drivers/network/afd/afd/main.c Mon Oct 8 16:37:44 2007
@@ -290,7 +290,7 @@
FCB->AddressFrom,
ConnInfo);
- ExFreePool( ConnInfo );
+ if (ConnInfo) ExFreePool( ConnInfo );
return UnlockAndMaybeComplete( FCB, Status, Irp, 0, NULL, TRUE );
}