PJSIP: Fix crash introduced in r411671
authorKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 13:30:25 +0000 (13:30 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 13:30:25 +0000 (13:30 +0000)
commit5d9a1281eebe29bd6b0a370514be6a29dac5af28
tree9bcc6c9fb451aa71e05c8c8b22c46837556ecf12
parentea290b2c3ea5df6a3f7add568536909e7c68551f
PJSIP: Fix crash introduced in r411671

The test event introduced in revision 411671 uses a dangling pointer to
access information about pubsub state changes. This moves the event to
within the lifetime of the pointer.
........

Merged revisions 411790 from http://svn.asterisk.org/svn/asterisk/branches/12

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