diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-16 21:46:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-16 21:46:06 +0000 |
commit | 486a5a3c9c679e04423b9f456b0a4340ffe665b9 (patch) | |
tree | 3b24621ca22c2779d20205a83c3918c9397c10a6 /channels | |
parent | 2e83bac9723ede41a224c3d261c4808c533be6be (diff) |
Apparently, in certain cases, a callno is already destroyed when iax2_destroy is called.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@131480 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index ef90e17ad..8b88083f3 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1305,7 +1305,7 @@ retry: goto retry; } } - if (!owner) { + if (!owner && iaxs[callno]) { AST_SCHED_DEL(sched, iaxs[callno]->lagid); AST_SCHED_DEL(sched, iaxs[callno]->pingid); iaxs[callno] = NULL; |