]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_phoneprov_provider: Fix leaked OBJ_MULTIPLE iterator.
authorCorey Farrell <git@cfware.com>
Sun, 5 Apr 2015 12:53:47 +0000 (12:53 +0000)
committerCorey Farrell <git@cfware.com>
Sun, 5 Apr 2015 12:53:47 +0000 (12:53 +0000)
commit709fa14b44cf90cdfcb5098c90455a8cbff013c0
treef67096774cb9fe82e243a4dd7ebb519f3de2fce8
parent1ee8424f27780ac3f1e96018e01622d081b640f2
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/

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