mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-07 07:09:17 -07:00
Merged revisions 58923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58923 | file | 2007-03-15 15:13:21 -0300 (Thu, 15 Mar 2007) | 2 lines Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6500,7 +6500,7 @@ static int socket_process_meta(int packet_len, struct ast_iax2_meta_hdr *meta, s
|
||||
duped_fr = iaxfrdup2(fr);
|
||||
if (duped_fr)
|
||||
schedule_delivery(duped_fr, 1, 1, &fr->ts);
|
||||
if (iaxs[fr->callno]->last < fr->ts)
|
||||
if (iaxs[fr->callno] && iaxs[fr->callno]->last < fr->ts)
|
||||
iaxs[fr->callno]->last = fr->ts;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user