[Freeswitch-svn] [commit] r13190 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Apr 29 08:08:53 PDT 2009


Author: anthm
Date: Wed Apr 29 10:08:53 2009
New Revision: 13190

Log:
fix unint memory issue

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Apr 29 10:08:53 2009
@@ -835,7 +835,7 @@
 	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;



More information about the Freeswitch-svn mailing list