diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 22:45:41 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 22:45:41 +0000 |
commit | 21e4945a46ade93e11813e7e8c7b100fd190d190 (patch) | |
tree | f069c1a99e21a6cb66ca84d13550b3386c8ae888 /channels | |
parent | 1d1a3c73c9879f0b6715e08050a1fc959c3c7372 (diff) |
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
Diffstat (limited to 'channels')
-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(); |