]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMichael Jerris <mike@jerris.com>
Tue, 18 Mar 2008 21:40:32 +0000 (21:40 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 18 Mar 2008 21:40:32 +0000 (21:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7920 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_io.c

index 1fb50f50e5e452cbdbdac7626a0b4ee844e54971..f537e5072ea54ea0f5f1ae0f7fe0b0b77dd2820e 100644 (file)
@@ -107,6 +107,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
   top:
 
        if (switch_channel_get_state(session->channel) >= CS_HANGUP) {
+               *frame = NULL;
                return SWITCH_STATUS_FALSE;
        }