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:
Jeff Hill
2009-03-04 19:33:18 +00:00
parent 1fbf624e5f
commit 31d6255169
+1 -1
View File
@@ -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;
}
}