[asterisk-commits] jpeeler: branch 1.4 r294641 - /branches/1.4/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 11 13:52:28 CST 2010
Author: jpeeler
Date: Thu Nov 11 13:52:14 2010
New Revision: 294641
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=294641
Log:
One small addition to 294384 found while very carefully merging to 1.6.
Modified:
branches/1.4/main/pbx.c
Modified: branches/1.4/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/pbx.c?view=diff&rev=294641&r1=294640&r2=294641
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Thu Nov 11 13:52:14 2010
@@ -4058,6 +4058,12 @@
continue;
}
ao2_lock(hint);
+
+ if (hint->exten == NULL) {
+ ao2_unlock(hint);
+ continue;
+ }
+
this->callbacks = hint->callbacks;
hint->callbacks = NULL;
this->laststate = hint->laststate;
More information about the asterisk-commits
mailing list