summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2017-02-28 17:14:30 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-02-28 17:14:30 -0600
commit024e724acae903fc732a0c018a327cc3d89906c1 (patch)
treeaaff7578e8c3f7c4cfa064e331bc01a9f2f41744 /res
parentacb906fa2f913d972e2f70eed2ff5577f8139056 (diff)
parent8e6ecdade2f9a154ea10ecb6e20635b328cb9dcf (diff)
Merge "res_pjsip_pubsub: Remove unneeded endpoint unref" into 13
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 644a4d293..1892a20e9 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1478,7 +1478,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;
}