Files
asterisk/res
George Joseph c2eea791e4 res_pjsip_pubsub: Fix reference to released endpoint
destroy_subscription was attempting to get the id of the
subscription tree's endpoint after we'd already called ao2_cleanup
on it causing a segfault.

Moved the cleanup until after the debug statement and since
endpoint could also be NULL at this point, check for that as well.

ASTERISK-27057 #close
Reported-by: Ryan Smith

Change-Id: Ice0a7727f560cf204d870a774c6df71e159b1678
2017-06-14 10:12:21 -06:00
..
2017-05-26 12:06:34 -04:00
2015-04-29 07:39:22 -04:00
2017-03-27 10:36:23 -04:00
2017-05-26 12:06:34 -04:00