mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Don't try to free a pointer if it was not allocated.
svn path=/trunk/; revision=29456
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user