< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] a crashing bug


Hello!

For the following piece of code in TransactionState.cxx, we found that
sometimes the statement "delete this" will cause the SIP stack to crash.
Since there is a process to delete the TransactionState object anyway in
somewhere else, shall we just comment out this line?

Thanks,
Wenwei Xu

//================= TransactionState.cxx ======================
void
TransactionState::processNoDnsResults()
{
    ......

   if (mMachine != Stateless)
   {
           //delete this; //shall we comment out this line?
   }
}