From: Anthony Minessale Date: Wed, 29 Apr 2009 15:08:53 +0000 (+0000) Subject: fix unint memory issue X-Git-Tag: v1.0.4~1009 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef063366341f2fcd8f558c6bec539393fc0a1b0;p=thirdparty%2Ffreeswitch.git fix unint memory issue git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13190 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 7825764c7b..757aa1add9 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -835,7 +835,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess switch_size_t olen = 0, llen = 0; switch_frame_t write_frame = { 0 }; switch_timer_t timer = { 0 }; - switch_codec_t codec; + switch_codec_t codec = { 0 }; switch_memory_pool_t *pool = switch_core_session_get_pool(session); char *codec_name; switch_status_t status = SWITCH_STATUS_SUCCESS;