git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8660 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-26 15:02:15 +00:00
parent d5c85e9394
commit fd90e2ca36
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t
const char *callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL);
if (callbackResultUTF)
{
status = process_callback_result((char*) callbackResultUTF, &cb_state, session);
status = process_callback_result((char*) callbackResultUTF);
env->ReleaseStringUTFChars(callbackResult, callbackResultUTF);
}
else
@ -303,7 +303,7 @@ switch_status_t JavaSession::run_dtmf_callback(void *input, switch_input_type_t
callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL);
if (callbackResultUTF)
{
status = process_callback_result((char*) callbackResultUTF, &cb_state, session);
status = process_callback_result((char*) callbackResultUTF);
env->ReleaseStringUTFChars(callbackResult, callbackResultUTF);
}
else