[Freeswitch-svn] [commit] r7951 - freeswitch/trunk/src/mod/applications/mod_fifo

Freeswitch SVN mikej at freeswitch.org
Mon Mar 24 12:22:34 EDT 2008


Author: mikej
Date: Mon Mar 24 12:22:33 2008
New Revision: 7951

Modified:
   freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c

Log:
popamatic nullage

Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	Mon Mar 24 12:22:33 2008
@@ -388,6 +388,8 @@
 		
 		while(switch_channel_ready(channel)) {
 			int x = 0 ;
+			pop = NULL;
+
             if (moh) {
                 args.read_frame_callback = read_frame_callback;
                 args.user_data = node;
@@ -423,6 +425,7 @@
             }
 			
             uuid = (char *) pop;
+			pop = NULL;
 
             if ((other_session = switch_core_session_locate(uuid))) {
                 switch_channel_t *other_channel = switch_core_session_get_channel(other_session);



More information about the Freeswitch-svn mailing list