Blocked revisions 114522 via svnmerge
authorRussell Bryant <russell@russellbryant.com>
Tue, 22 Apr 2008 15:20:53 +0000 (15:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 22 Apr 2008 15:20:53 +0000 (15:20 +0000)
commitf5a5845a29ab384497a72201dc1d563887c5c3ca
treeb984c3a887dd7968073113d0ae18215bf43c91dc
parent161b4abd796ef2126135a2caef268b1ac54f91bb
Blocked revisions 114522 via svnmerge

........
r114522 | russell | 2008-04-22 10:20:37 -0500 (Tue, 22 Apr 2008) | 13 lines

Merge changes from team/russell/issue_9520

These changes make sure that the reference count for sip_peer objects properly
reflects the fact that the peer is sitting in the scheduler for a scheduled
callback for qualifying peers or for expiring registrations.  Without this, it
was possible for these callbacks to happen at the same time that the peer was
being destroyed.  This was especially likely to happen with realtime peers, and
for people making use of the realtime prune CLI command.

(closes issue #9520)
Reported by: kryptolus
Committed patch by me

........

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