[ROSAPPS]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 15 Sep 2013 18:17:25 +0000 (18:17 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 15 Sep 2013 18:17:25 +0000 (18:17 +0000)
Missing _SEH2_YIELD.

svn path=/trunk/; revision=60145

rosapps/applications/net/tditest/tditest/tditest.c

index d7c440f..38ab0d7 100644 (file)
@@ -555,7 +555,7 @@ NTSTATUS TdiSendDatagram(
                IoFreeMdl(Mdl);
                IoFreeIrp(Irp);
                ExFreePool(ConnectInfo);
                IoFreeMdl(Mdl);
                IoFreeIrp(Irp);
                ExFreePool(ConnectInfo);
-               return STATUS_UNSUCCESSFUL;
+               _SEH2_YIELD(return STATUS_UNSUCCESSFUL);
        } _SEH2_END;
 
        TdiBuildSendDatagram(
        } _SEH2_END;
 
        TdiBuildSendDatagram(
@@ -683,7 +683,7 @@ NTSTATUS TdiReceiveDatagram(
                IoFreeIrp(Irp);
                ExFreePool(MdlBuffer);
                ExFreePool(ReceiveInfo);
                IoFreeIrp(Irp);
                ExFreePool(MdlBuffer);
                ExFreePool(ReceiveInfo);
-               return STATUS_INSUFFICIENT_RESOURCES;
+               _SEH2_YIELD(return STATUS_INSUFFICIENT_RESOURCES);
        } _SEH2_END;
 
        TdiBuildReceiveDatagram(
        } _SEH2_END;
 
        TdiBuildReceiveDatagram(