diff options
-rw-r--r-- | res/res_pjsip_sdp_rtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index fb194c54e..6471341b3 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -396,6 +396,7 @@ static void add_ice_to_stream(struct ast_sip_session *session, struct ast_sip_se } ao2_iterator_destroy(&it_candidates); + ao2_ref(candidates, -1); } /*! \brief Function which processes ICE attributes in an audio stream */ |