]> 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 C. Colp <jcolp@sangoma.com>
Tue, 28 Jan 2020 15:18:45 +0000 (15:18 +0000)
commit4d32f5747c2db25d63005bbb94ee9d27e09059c2
treed96027d0763cac80a1ed7f0356b416acb9b35fc0
parent57bb9dc83c4d81e452449e11f50f02d1ba09d9b8
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