From fd90e2ca369e0cdc148ca01d2831645f28db8e4f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 26 May 2008 15:02:15 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8660 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_java/freeswitch_java.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/languages/mod_java/freeswitch_java.cpp b/src/mod/languages/mod_java/freeswitch_java.cpp index 6d7992daae..d8390b2ade 100644 --- a/src/mod/languages/mod_java/freeswitch_java.cpp +++ b/src/mod/languages/mod_java/freeswitch_java.cpp @@ -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