[Asterisk-code-review] pjsip configuration: Fix leak in persistent endpoint update ... (asterisk[master])

Corey Farrell asteriskteam at digium.com
Mon Jun 1 03:08:50 CDT 2015


Hello George Joseph,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/551

to look at the new patch set (#2).

Change subject: pjsip_configuration: Fix leak in persistent_endpoint_update_state.
......................................................................

pjsip_configuration: Fix leak in persistent_endpoint_update_state.

The loop to find the first available contact of an endpoint grabbed
contact from the iterator, then checked for offline state.  This
caused the first contact after the state was found to leak a reference.

ASTERISK-25141

Change-Id: Id0f1d87410fc63742db0594eb4b18b36e99aec08
---
M res/res_pjsip/pjsip_configuration.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/551/2
-- 
To view, visit https://gerrit.asterisk.org/551
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id0f1d87410fc63742db0594eb4b18b36e99aec08
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>



More information about the asterisk-code-review mailing list