Add wormhole state check function
[ric-plt/lib/rmr.git] / src / rmr / si / src / si95 / sitrash.c
index 679e2f4..83671c7 100644 (file)
@@ -40,6 +40,10 @@ extern void SItrash( int type, void *bp )
         struct ioq_blk *iptr;
         struct ioq_blk *inext;
 
+               if( bp == NULL ) {
+                       return;
+               }
+
         switch( type )
         {
                 case IOQ_BLK: