diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index 503129cda..7b3d41b32 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -221,9 +221,9 @@ cac::~cac () if ( this->pUserName ) { delete [] this->pUserName; } - this->sgTable.traverse ( CASG::destroy ); - this->beaconTable.traverse ( bhe::destroy ); - this->chanTable.traverse ( nciu::destroy ); + this->sgTable.traverse ( &CASG::destroy ); + this->beaconTable.traverse ( &bhe::destroy ); + this->chanTable.traverse ( &nciu::destroy ); osiSockRelease (); diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index 3910c3075..b0bbebaa4 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -677,7 +677,7 @@ void tcpiiu::disconnect () { osiAutoMutex autoMutex ( this->mutex ); - this->ioTable.traverse ( baseNMIU::destroy ); + this->ioTable.traverse ( &baseNMIU::destroy ); } this->cleanShutdown ();