From: Joshua Colp Date: Sat, 29 Jun 2013 13:47:22 +0000 (+0000) Subject: Nothing to see here, move along. X-Git-Tag: 13.0.0-beta1~1589 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68b3bce8b8f66be36f9d01a5796a65d52c83ef35;p=thirdparty%2Fasterisk.git Nothing to see here, move along. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393264 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_sip_pubsub.c b/res/res_sip_pubsub.c index df61554691..bc62ad5dae 100644 --- a/res/res_sip_pubsub.c +++ b/res/res_sip_pubsub.c @@ -827,7 +827,7 @@ static pj_bool_t pubsub_on_rx_publish_request(pjsip_rx_data *rdata) ao2_link(handler->publications, publication); AST_SCHED_REPLACE_UNREF(publication->sched_id, sched, expires * 1000, publish_expire, publication, - ao2_ref(publication, -1), NULL, ao2_ref(publication, +1)); + ao2_ref(publication, -1), ao2_ref(publication, -1), ao2_ref(publication, +1)); } else { AST_SCHED_DEL_UNREF(sched, publication->sched_id, ao2_ref(publication, -1)); }