mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
more ref checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10375 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -38,7 +38,7 @@ SWITCH_MODULE_DEFINITION(mod_dialplan_asterisk, mod_dialplan_asterisk_load, NULL
|
||||
|
||||
static switch_status_t exec_app(switch_core_session_t *session, char *app, char *arg)
|
||||
{
|
||||
const switch_application_interface_t *application_interface;
|
||||
switch_application_interface_t *application_interface;
|
||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||
|
||||
if ((application_interface = switch_loadable_module_get_application_interface(app))) {
|
||||
|
||||
@@ -2199,7 +2199,7 @@ static JSBool session_execute(JSContext * cx, JSObject * obj, uintN argc, jsval
|
||||
/* you can execute some apps before you answer CHANNEL_SANITY_CHECK(); */
|
||||
|
||||
if (argc > 0) {
|
||||
const switch_application_interface_t *application_interface;
|
||||
switch_application_interface_t *application_interface;
|
||||
char *app_name = JS_GetStringBytes(JS_ValueToString(cx, argv[0]));
|
||||
char *app_arg = NULL;
|
||||
jsrefcount saveDepth;
|
||||
|
||||
Reference in New Issue
Block a user