]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix memory leaks.
authorCorey Farrell <git@cfware.com>
Tue, 19 Dec 2017 00:59:57 +0000 (19:59 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 19 Dec 2017 19:48:39 +0000 (13:48 -0600)
commit0e5d8ad09bf8b51d7f5eaed5de308ee05703d87b
tree4e247db6c5b641ec28b806cb4d3ae87a3e4888de
parent909f41a2e00dde1825591b7a45355a3bfb777c75
chan_sip: Fix memory leaks.

In change_redirecting_information variables we use ast_strlen_zero to
see if a value should be saved.  In the case where the value is not NULL
but is a zero length string we leaked.

handle_response_subscribe leaked a reference to the ccss monitor
instance.

Change-Id: Ib11444de69c3d5b2360a88ba2feb54d2c2e9f05f
channels/chan_sip.c