mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
fix obscure bs, remove CR from dptools, add info app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3463 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
44649c70b4
commit
d20870e121
3 files changed
+472
-428
No files matched your search
+3
-2
@@ -2673,7 +2673,8 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
|
||||
}
|
||||
|
||||
while (switch_channel_get_state(session->channel) == CS_EXECUTE && extension->current_application) {
|
||||
char *expanded;
|
||||
char *expanded = NULL;
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Execute %s(%s)\n",
|
||||
extension->current_application->application_name,
|
||||
extension->current_application->application_data);
|
||||
@@ -2720,7 +2721,7 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
|
||||
application_interface->application_function(session, expanded);
|
||||
|
||||
if (expanded != extension->current_application->application_data) {
|
||||
free(expanded);
|
||||
switch_safe_free(expanded);
|
||||
}
|
||||
extension->current_application = extension->current_application->next;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user