Nothing to see here, move along.
authorJoshua Colp <jcolp@digium.com>
Sat, 29 Jun 2013 13:47:22 +0000 (13:47 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 29 Jun 2013 13:47:22 +0000 (13:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_sip_pubsub.c

index df61554..bc62ad5 100644 (file)
@@ -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));
                }