]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix unint memory issue
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Apr 2009 15:08:53 +0000 (15:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Apr 2009 15:08:53 +0000 (15:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13190 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index 7825764c7b8a6dd06fbd92348f87577626b32125..757aa1add9a2d033aa36aa5f76069934f4b4e23c 100644 (file)
@@ -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;