mirror of http://gerrit.asterisk.org/asterisk
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: Ice0a7727f560cf204d870a774c6df71e159b1678changes/35/5835/1
parent
c33168c147
commit
65ed2ea311
Loading…
Reference in new issue