]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 30 Jan 2020 15:37:35 +0000 (09:37 -0600)
commit5b4d900e4317d2fc2d6270848ea3b189cce17d96
treea9d392b456b35c1c31e959e6d3e8bc084555b310
parent4579ddd8466d4878c628650b56d80b7226967703
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
(cherry picked from commit 35c9332edf013685cda733d275264877feb02707)
res/res_pjsip_pubsub.c