switch_core_session_execute_exten: fix missing UNPROTECT_INTERFACE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8c05b2f711
commit
60ff1eb5db
|
@ -1545,7 +1545,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
|
|||
|
||||
count++;
|
||||
|
||||
if ((extension = dialplan_interface->hunt_function(session, dparg, new_profile)) != 0) {
|
||||
extension = dialplan_interface->hunt_function(session, dparg, new_profile);
|
||||
UNPROTECT_INTERFACE(dialplan_interface);
|
||||
|
||||
if (extension) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue