[asterisk-commits] coreyfarrell: branch 13 r434025 - /branches/13/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 6 10:16:05 CDT 2015
Author: coreyfarrell
Date: Mon Apr 6 10:16:03 2015
New Revision: 434025
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=434025
Log:
res_pjsip_phoneprov_provider: Revert 433996 / 433997.
res_pjsip_phoneprov_provider is using ao2_callback with OBJ_MULTIPLE, then
ignoring the return. OBJ_NODATA flag was to prevent a reference leak, but
this caused the module to FRACK on unload. Revert change until this can
be investigated further.
ASTERISK-24935
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4578/
Modified:
branches/13/res/res_pjsip_phoneprov_provider.c
Modified: branches/13/res/res_pjsip_phoneprov_provider.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_phoneprov_provider.c?view=diff&rev=434025&r1=434024&r2=434025
==============================================================================
--- branches/13/res/res_pjsip_phoneprov_provider.c (original)
+++ branches/13/res/res_pjsip_phoneprov_provider.c Mon Apr 6 10:16:03 2015
@@ -353,7 +353,7 @@
return 0;
}
- ao2_callback(users, OBJ_MULTIPLE | OBJ_NODATA, users_apply_handler, sorcery);
+ ao2_callback(users, OBJ_MULTIPLE, users_apply_handler, sorcery);
ao2_ref(users, -1);
return 0;
More information about the asterisk-commits
mailing list