fixed use of destroy member function without checking for nill pointer
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user