Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix failure when in static only route table mode
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
si95
/
sitrash.c
diff --git
a/src/rmr/si/src/si95/sitrash.c
b/src/rmr/si/src/si95/sitrash.c
index
679e2f4
..
83671c7
100644
(file)
--- a/
src/rmr/si/src/si95/sitrash.c
+++ b/
src/rmr/si/src/si95/sitrash.c
@@
-40,6
+40,10
@@
extern void SItrash( int type, void *bp )
struct ioq_blk *iptr;
struct ioq_blk *inext;
struct ioq_blk *iptr;
struct ioq_blk *inext;
+ if( bp == NULL ) {
+ return;
+ }
+
switch( type )
{
case IOQ_BLK:
switch( type )
{
case IOQ_BLK: