]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Destroy variables on a sip_pvt before copying vars from the sip_peer.
authorRussell Bryant <russell@russellbryant.com>
Fri, 6 May 2011 20:01:16 +0000 (20:01 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 6 May 2011 20:01:16 +0000 (20:01 +0000)
commit7c6e7632586ea556f53968b152d4a0604b9c87da
tree034bb07911f6651eae174bd07f59a2dbcec05cd1
parentd5a0fb899aadbb2a2c434c65f3dd984ff29f07c3
chan_sip: Destroy variables on a sip_pvt before copying vars from the sip_peer.

Don't duplicate variables on the sip_pvt.  Just reset the variable list each
time.

(closes issue #19202)
Reported by: wdoekes
Patches:
      issue19202_destroy_challenged_invite_chanvars.patch uploaded by wdoekes (license 717)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c