mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
Patch by Cameron Gutman (aicommander <at> gmail <dot> com)
- Forgot to remove UnlockRequest in last patch svn path=/trunk/; revision=34624
This commit is contained in:
parent
9a54151f86
commit
861184aa18
|
@ -283,7 +283,6 @@ AfdEventSelect( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
EventSelectInfo->Events));
|
EventSelectInfo->Events));
|
||||||
|
|
||||||
if( !SocketAcquireStateLock( FCB ) ) {
|
if( !SocketAcquireStateLock( FCB ) ) {
|
||||||
UnlockRequest( Irp, IrpSp );
|
|
||||||
return LostSocket( Irp, TRUE );
|
return LostSocket( Irp, TRUE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -329,7 +328,6 @@ AfdEnumEvents( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !SocketAcquireStateLock( FCB ) ) {
|
if( !SocketAcquireStateLock( FCB ) ) {
|
||||||
UnlockRequest( Irp, IrpSp );
|
|
||||||
return LostSocket( Irp, TRUE );
|
return LostSocket( Irp, TRUE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue