From: Travis Cross Date: Sun, 26 May 2013 09:54:39 +0000 (+0000) Subject: Avoid using psession uninitialized in mod_fsk X-Git-Tag: v1.2.13~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1637a08206fc603c1de170e0faf85d7fc564a8ad;p=thirdparty%2Ffreeswitch.git Avoid using psession uninitialized in mod_fsk --- diff --git a/src/mod/applications/mod_fsk/mod_fsk.c b/src/mod/applications/mod_fsk/mod_fsk.c index da996fdba4..58df3c4831 100644 --- a/src/mod/applications/mod_fsk/mod_fsk.c +++ b/src/mod/applications/mod_fsk/mod_fsk.c @@ -370,7 +370,7 @@ SWITCH_STANDARD_APP(fsk_display_function) const char *cid_name, *cid_num; switch_channel_t *channel = switch_core_session_get_channel(session); switch_core_session_message_t *msg; - switch_core_session_t *psession, *usession = NULL; + switch_core_session_t *psession = NULL, *usession = NULL; char *flags = (char *) data; cid_name = switch_channel_get_variable(channel, "fsk_phone_name");