From 21e4945a46ade93e11813e7e8c7b100fd190d190 Mon Sep 17 00:00:00 2001 From: dvossel Date: Thu, 18 Feb 2010 22:45:41 +0000 Subject: fixes dialog ref count crash isolated to the 1.6.0 branch (closes issue #16375) Reported by: kobaz (closes issue #16796) Reported by: kobaz git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@247839 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'channels') 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(); -- cgit v1.2.3