[svn-commits] dvossel: branch 1.6.0 r247839 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 18 16:45:48 CST 2010


Author: dvossel
Date: Thu Feb 18 16:45:41 2010
New Revision: 247839

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247839
Log:
fixes dialog ref count crash isolated to the 1.6.0 branch

(closes issue #16375)
Reported by: kobaz

(closes issue #16796)
Reported by: kobaz

Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=247839&r1=247838&r2=247839
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Thu Feb 18 16:45:41 2010
@@ -21150,8 +21150,7 @@
 			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();




More information about the svn-commits mailing list