Skip to content
Snippets Groups Projects
Commit b1102cd6 authored by Corey Farrell's avatar Corey Farrell
Browse files

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/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0f25076f
No related branches found
No related tags found
No related merge requests found
......@@ -353,7 +353,7 @@ static int load_users(void)
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment