mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4281,7 +4281,7 @@ static int __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist)
|
||||
}
|
||||
|
||||
/* Remove link from peer to subscription of MWI */
|
||||
if (p->relatedpeer && p->relatedpeer->mwipvt)
|
||||
if (p->relatedpeer && p->relatedpeer->mwipvt == p)
|
||||
p->relatedpeer->mwipvt = dialog_unref(p->relatedpeer->mwipvt);
|
||||
|
||||
if (dumphistory)
|
||||
|
||||
Reference in New Issue
Block a user