summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-02-28 17:32:25 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-02-28 17:32:25 -0600
commit5e5aff04ec264dcda8cdb63c95531c41f997129e (patch)
treecd687903741249912d9ef77f5ff240c50d3c3fbf /res
parentf41ace90421c83bde17d4ccc430a2ac728377bc2 (diff)
parentfb68db87b1ab4e39c6c8a9d363985b0de6407228 (diff)
Merge "res_pjsip_pubsub: Remove unneeded endpoint unref"
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip_pubsub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index 709dc6640..e90502485 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1456,7 +1456,6 @@ static int sub_persistence_recreate(void *obj)
ast_log(LOG_WARNING, "Failed recreating '%s' subscription: The endpoint was not found\n",
persistence->endpoint);
ast_sorcery_delete(ast_sip_get_sorcery(), persistence);
- ao2_ref(endpoint, -1);
return 0;
}