]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Increment persistence data ref when recreating.
authorJoshua C. Colp <jcolp@sangoma.com>
Tue, 28 Jan 2020 15:18:45 +0000 (15:18 +0000)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 28 Jan 2020 15:24:33 +0000 (09:24 -0600)
commit35c9332edf013685cda733d275264877feb02707
tree4e7b64344d5b595c48581564123563b17ec2ce99
parent5192a045f61b8c22f706f62f7c0b77d166d198db
res_pjsip_pubsub: Increment persistence data ref when recreating.

Each subscription needs to have a reference to the persisted data
for it, as well as the main JSON contained within the tree. When
recreating a subscription this did not occur and they both shared
the same reference.

ASTERISK-28714

Change-Id: I706abd49ea182ea367a4ac3feca2706460ae9f4a
res/res_pjsip_pubsub.c