diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index eb0a558eb..975211816 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21150,8 +21150,7 @@ static struct ast_channel *sip_request_call(const char *type, int format, void * p->owner? p->owner->name : "", "SIP", p->callid, p->fullcontact, p->peername); sip_pvt_unlock(p); if (!tmpc) { - dialog_cleanup_and_destroy(p); - dialog_unref(p); /* sip_destroy(p); */ + dialog_cleanup_and_destroy(p); /* sip_destroy(p); */ } ast_update_use_count(); restart_monitor(); |