]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_configuration: Fix leak in persistent_endpoint_update_state. 52/552/2
authorCorey Farrell <git@cfware.com>
Sun, 31 May 2015 01:22:00 +0000 (21:22 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 1 Jun 2015 08:07:56 +0000 (03:07 -0500)
commit9e7827e3ac057f22bc17823a44778b76270c5901
treec0bfe6634ec2303e0326e444ff96f7254303fd2c
parent857166b5e5dbdb81b4c25a42f36842a394989768
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
res/res_pjsip/pjsip_configuration.c