Review Board 1.7.16


res_pjsip_outbound_registration: Fix reference leak.

Review Request #4303 - Created Dec. 30, 2014 and submitted

George Joseph
13
Reviewers
asterisk-dev
Asterisk
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.

Watched the ref count on client_state in no-auth registrations, auth-successful registrations and auth-failed registrations to make sure the ref count stayed stable.
Total:
2
Open:
0
Resolved:
2
Dropped:
0
Status:
From:
Review request changed
Updated (Jan. 21, 2015, 1:47 p.m.)
  • changed from pending to submitted
Committed in revision 430898

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.