]> 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:07 +0000 (09:37 -0600)
commit939e18d63eee6c228446c4b14021ba8940761574
treeee3c9c004915ee7f081037dc94896bfa97f88a5b
parentb7b813eb3498223daf9a2ac883aadafec6fa65cb
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 4d32f5747c2db25d63005bbb94ee9d27e09059c2)
res/res_pjsip_pubsub.c