[asterisk-commits] mnicholson: branch 1.6.2 r271904 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 22 12:37:30 CDT 2010


Author: mnicholson
Date: Tue Jun 22 12:37:26 2010
New Revision: 271904

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=271904
Log:
Merged revisions 271903 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r271903 | mnicholson | 2010-06-22 12:35:17 -0500 (Tue, 22 Jun 2010) | 15 lines
  
  Merged revisions 271902 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r271902 | mnicholson | 2010-06-22 12:31:57 -0500 (Tue, 22 Jun 2010) | 8 lines
    
    Decrease the module ref count in sip_hangup when SIP_DEFER_BYE_ON_TRANSFER is set.  This is necessary to keep the ref count correct.
    
    (closes issue #16815)
    Reported by: rain
    Patches:
          chan_sip-unref-fix.diff uploaded by rain (license 327) (modified)
    Tested by: rain
  ........
................

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=271904&r1=271903&r2=271904
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue Jun 22 12:37:26 2010
@@ -6002,6 +6002,7 @@
 		sip_pvt_lock(p);
 		p->owner = NULL;  /* Owner will be gone after we return, so take it away */
 		sip_pvt_unlock(p);
+		ast_module_unref(ast_module_info->self);
 		return 0;
 	}
 




More information about the asterisk-commits mailing list