fix for deleteing IO that wasnt selected for delete nor removed from
the list in clearOutstandingReads. This problem would probably only occur with R3.13 clients, and only then if the R3.13 client times out in ca_pend_io.
This commit is contained in:
@@ -375,10 +375,10 @@ void casPVI::clearOutstandingReads ( tsDLList < casAsyncIOI > & ioList )
|
||||
++tmp;
|
||||
if ( iterIO->oneShotReadOP () ) {
|
||||
ioList.remove ( *iterIO );
|
||||
delete iterIO.pointer ();
|
||||
assert ( this->nIOAttached != 0 );
|
||||
this->nIOAttached--;
|
||||
}
|
||||
delete iterIO.pointer ();
|
||||
iterIO = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user