[RXCE] Don't remove uninitialized list entry
authorPierre Schweitzer <pierre@reactos.org>
Wed, 11 Oct 2017 06:31:36 +0000 (08:31 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 11 Oct 2017 06:31:36 +0000 (08:31 +0200)
CID 1419234

sdk/lib/drivers/rxce/rxce.c

index 4f67abc..2c91c0b 100644 (file)
@@ -6834,6 +6834,9 @@ RxpUndoScavengerFinalizationMarking(
             --Scavenger->SrvOpensToBeFinalized;
             ListEntry = &((PSRV_OPEN)Instance)->ScavengerFinalizationList;
             break;
+
+        default:
+            return;
     }
 
     /* Also, remove the extra ref from the scavenger */