res_pjsip_phoneprov_provider: Fix leaked OBJ_MULTIPLE iterator.
authorCorey Farrell <git@cfware.com>
Sun, 5 Apr 2015 12:55:21 +0000 (12:55 +0000)
committerCorey Farrell <git@cfware.com>
Sun, 5 Apr 2015 12:55:21 +0000 (12:55 +0000)
commite6f04100283bc48d77a505c2ae981411123d4f60
treea4652f88e6508150733b51acb76961712d2f1c2a
parent3439487a811c52ddf5a861a93624628a4f6d435b
res_pjsip_phoneprov_provider: Fix leaked OBJ_MULTIPLE iterator.

res_pjsip_phoneprov_provider was using ao2_callback with OBJ_MULTIPLE, then
ignoring the return.  Added OBJ_NODATA flag to prevent a reference leak.

ASTERISK-24935 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4578/
........

Merged revisions 433996 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_phoneprov_provider.c