diff --git a/core/sip/sip_trans.cpp b/core/sip/sip_trans.cpp index 1ddb2ba1..8f7eb3b8 100644 --- a/core/sip/sip_trans.cpp +++ b/core/sip/sip_trans.cpp @@ -205,7 +205,8 @@ void trans_timer::fire() // 2. we have already set a new one // -> anyway, don't fire the old one !!! bucket->unlock(); - return; + delete this; + return; } // timer_expired unlocks the bucket @@ -220,6 +221,7 @@ void trans_timer::fire() else { ERROR("Invalid bucket id\n"); } + delete this; } /**