Merged revisions 113596 via svnmerge from
authorTerry Wilson <twilson@digium.com>
Wed, 9 Apr 2008 01:36:58 +0000 (01:36 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 9 Apr 2008 01:36:58 +0000 (01:36 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r113596 | twilson | 2008-04-08 20:34:25 -0500 (Tue, 08 Apr 2008) | 2 lines

Initialize fr->cacheable to make valgrind happy

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@113597 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 2e82944..08dc92e 100644 (file)
@@ -9199,6 +9199,7 @@ retryowner2:
                        ast_debug(1, "Received out of order packet... (type=%d, subclass %d, ts = %d, last = %d)\n", f.frametype, f.subclass, fr->ts, iaxs[fr->callno]->last);
                fr->outoforder = -1;
        }
+       fr->cacheable = ((f.frametype == AST_FRAME_VOICE) || (f.frametype == AST_FRAME_VIDEO));
        duped_fr = iaxfrdup2(fr);
        if (duped_fr) {
                schedule_delivery(duped_fr, updatehistory, 0, &fr->ts);