]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: On notify fail deleted sub_tree is then referenced 25/1125/2
authorScott Griepentrog <scott@griepentrog.com>
Thu, 16 Apr 2015 18:20:29 +0000 (13:20 -0500)
committerMark Michelson <mmichelson@digium.com>
Fri, 21 Aug 2015 18:05:07 +0000 (13:05 -0500)
commit0b04269e73cff125ac8e3a4c39d4f5b48f5a5611
treee4ce3d27c843b1bc16e2847739aab82f3e21d2e1
parentf049ad951bd7c49deb8c3babc4711965f3be6825
res_pjsip_pubsub: On notify fail deleted sub_tree is then referenced

This change makes the send_notify of the sub_tree
not happen when the sub_tree has been deleted due
to the notify call failing, which avoids a crash.

ASTERISK-24970 #close

Change-Id: I1f20ffc08b192f59c457293b218025a693992cbf
(cherry picked from commit 8d4ce7cc2b87317005588e700b278a8cca7005c8)
res/res_pjsip_pubsub.c