[asterisk-commits] file: branch group/pimp_my_sip r391945 - /team/group/pimp_my_sip/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jun 16 08:46:55 CDT 2013
Author: file
Date: Sun Jun 16 08:46:53 2013
New Revision: 391945
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391945
Log:
Drop the ref count on the expiration if it can not be scheduled.
Modified:
team/group/pimp_my_sip/res/res_sip_registrar_expire.c
Modified: team/group/pimp_my_sip/res/res_sip_registrar_expire.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip_registrar_expire.c?view=diff&rev=391945&r1=391944&r2=391945
==============================================================================
--- team/group/pimp_my_sip/res/res_sip_registrar_expire.c (original)
+++ team/group/pimp_my_sip/res/res_sip_registrar_expire.c Sun Jun 16 08:46:53 2013
@@ -126,7 +126,7 @@
return;
}
- AST_SCHED_REPLACE_UNREF(expiration->sched, sched, expires, contact_expiration_expire, expiration, ao2_cleanup(expiration), NULL, ao2_ref(expiration, +1));
+ AST_SCHED_REPLACE_UNREF(expiration->sched, sched, expires, contact_expiration_expire, expiration, ao2_cleanup(expiration), ao2_cleanup(expiration), ao2_ref(expiration, +1));
}
/*! \brief Observer callback for when a contact is deleted */
More information about the asterisk-commits
mailing list