fixed use of destroy member function without checking for nill pointer

This commit is contained in:
Jeff Hill
2001-06-18 21:12:36 +00:00
parent 8926a0a8b3
commit d02e01c55b

View File

@@ -286,7 +286,9 @@ void dbServiceIO::destroyAllIO ( dbChannelIO & chan )
while ( ( pIO = tmp.get() ) ) {
pIO->destroy ();
}
chan.dbServicePrivateListOfIO::pBlocker->destroy ();
if ( chan.dbServicePrivateListOfIO::pBlocker ) {
chan.dbServicePrivateListOfIO::pBlocker->destroy ();
}
}
void dbServiceIO::ioCancel ( dbChannelIO & chan, const cacChannel::ioid &id )