diff options
author | George Joseph <george.joseph@fairview5.com> | 2015-01-08 21:38:26 +0000 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2015-01-08 21:38:26 +0000 |
commit | c55f86c69d5e99492fb95b6a375085ce33f23ae0 (patch) | |
tree | 23fb8baacd018ea0137cbe2a327729bcf02007fc /apps/app_setcallerid.c | |
parent | 030facce949c3cdd81237826d46bea876242cb30 (diff) |
res_pjsip_outbound_registration: Fix reference leak.
Every time a registration started, sip_outbound_registration_response_cb bumps
the ref count on client_state then pushes a handle_registration_response task.
handle_registration_response never unreffed it though. So every time a
registration goes out, the ref count goes up by one.
This patch adds the unreffs to handle_registration_response.
Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4303/
........
Merged revisions 430395 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_setcallerid.c')
0 files changed, 0 insertions, 0 deletions