From 47e434bcd6913ef6c966d74606051135346a90ac Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 24 Dec 2007 16:05:53 +0000 Subject: [PATCH] fix MODAPP-61 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6969 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_spidermonkey/mod_spidermonkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index b556303a40..8d197d5e5e 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -981,7 +981,7 @@ JSObject *new_js_event(switch_event_t *event, char *name, JSContext * cx, JSObje static switch_status_t js_common_callback(switch_core_session_t *session, void *input, switch_input_type_t itype, void *buf, unsigned int buflen) { - char *dtmf = NULL; + char dtmf[2] = ""; switch_event_t *event = NULL; struct input_callback_state *cb_state = buf; struct js_session *jss = cb_state->session_state;