[asterisk-commits] tilghman: branch 1.6.1 r152924 - in /branches/1.6.1: ./ channels/chan_local.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 30 14:48:07 CDT 2008


Author: tilghman
Date: Thu Oct 30 14:48:06 2008
New Revision: 152924

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

................
  r152923 | tilghman | 2008-10-30 14:45:52 -0500 (Thu, 30 Oct 2008) | 13 lines
  
  Merged revisions 152922 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152922 | tilghman | 2008-10-30 14:43:38 -0500 (Thu, 30 Oct 2008) | 6 lines
    
    Unlock before returning, when extension doesn't exist.
    (closes issue #13807)
     Reported by: eliel
     Patches: 
           chan_local.c.patch uploaded by eliel (license 64)
  ........
................

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_local.c

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

Modified: branches/1.6.1/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_local.c?view=diff&rev=152924&r1=152923&r2=152924
==============================================================================
--- branches/1.6.1/channels/chan_local.c (original)
+++ branches/1.6.1/channels/chan_local.c Thu Oct 30 14:48:06 2008
@@ -521,6 +521,7 @@
 
 	if (!ast_exists_extension(NULL, p->chan->context, p->chan->exten, 1, p->owner->cid.cid_num)) {
 		ast_log(LOG_NOTICE, "No such extension/context %s@%s while calling Local channel\n", p->chan->exten, p->chan->context);
+		ast_mutex_unlock(&p->lock);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list