]> 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:24 +0000 (09:24 -0600)
commite14fd3b22a832f1e49fbdf340727c12f0c0d2929
treeb71d908f1a59795fa91915bfc23d436a35df7fa6
parent67ed0db0dafa3eea7c9b83df06c5d655e52f7697
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