diff --git a/src/ca/cacNotify.cpp b/src/ca/cacNotify.cpp index 51c8afda8..4b25f90b3 100644 --- a/src/ca/cacNotify.cpp +++ b/src/ca/cacNotify.cpp @@ -21,7 +21,10 @@ cacNotify::~cacNotify () cacNotifyIO *pTmpIO = this->pIO; if ( pTmpIO ) { this->pIO = 0; - pTmpIO->destroy (); + // the code fits together better in iother places + // if the delete and the uninstall are speparate steps + pTmpIO->uninstall (); + delete pTmpIO; } }