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;


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to