Merged revisions 284703 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r284703 | dvossel | 2010-09-02 11:47:15 -0500 (Thu, 02 Sep 2010) | 7 lines
  
  Removed relatedpeer code from sip_autodestruct
  
  Handling of the relatedpeer structure associated with a
  sip_pvt should be done during the final sip_destruction
  function, not in sip_autodestruct.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@284704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
David Vossel 16 years ago
parent 270a11e92b
commit 3325966e1d

@ -4004,10 +4004,6 @@ static int __sip_autodestruct(const void *data)
}
}
if (p->subscribed == MWI_NOTIFICATION)
if (p->relatedpeer)
p->relatedpeer = unref_peer(p->relatedpeer, "__sip_autodestruct: unref peer p->relatedpeer"); /* Remove link to peer. If it's realtime, make sure it's gone from memory) */
/* Reset schedule ID */
p->autokillid = -1;

Loading…
Cancel
Save