[asterisk-commits] tilghman: branch 1.4 r152922 - /branches/1.4/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 30 14:43:39 CDT 2008
Author: tilghman
Date: Thu Oct 30 14:43:38 2008
New Revision: 152922
URL: http://svn.digium.com/view/asterisk?view=rev&rev=152922
Log:
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.4/channels/chan_local.c
Modified: branches/1.4/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=152922&r1=152921&r2=152922
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Thu Oct 30 14:43:38 2008
@@ -489,6 +489,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