]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
popamatic nullage
authorMichael Jerris <mike@jerris.com>
Mon, 24 Mar 2008 16:22:33 +0000 (16:22 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 24 Mar 2008 16:22:33 +0000 (16:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7951 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fifo/mod_fifo.c

index 76e17c00a338f56673f7285d7a31d5cbdda21afb..4199a64b54d98853ea88141c97837516c91e3e3a 100644 (file)
@@ -388,6 +388,8 @@ SWITCH_STANDARD_APP(fifo_function)
                
                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 @@ SWITCH_STANDARD_APP(fifo_function)
             }
                        
             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);