- Don't try to free a pointer if it was not allocated.

svn path=/trunk/; revision=29456
This commit is contained in:
Aleksey Bragin
2007-10-08 12:37:44 +00:00
parent c736d81fff
commit db598dfdbb
+1 -1
View File
@@ -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 );
}