Don't attempt to link in an aggregate MWI subscription if an endpoint does not aggreg...
authorMark Michelson <mmichelson@digium.com>
Thu, 6 Mar 2014 15:58:13 +0000 (15:58 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 6 Mar 2014 15:58:13 +0000 (15:58 +0000)
commit59ff66ef0275ff9985a3cd3168fc797cf152b38e
tree2b71fc7e2a1e4215c457ae7975b28f3675599fbe
parent0a4dd1481ab038003f1acb0322e2314a2fb4420c
Don't attempt to link in an aggregate MWI subscription if an endpoint does not aggregate MWI.

Attempting to link a NULL object into an ao2 container had been benign previously, but since
enabling DO_CRASH in the testsuite, this is now causing a crash. It's better to be right
here anyway.
........

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

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