Corey Farrell
06ba533bc7
chan_sip: Fix reference leaks in error paths.
...
* get_sip_pvt_from_replaces leaks sip_pvt_ptr on any error.
* build_peer leaks peer on failure to allocate the endpoint.
This patch fixes get_sip_pvt by using an RAII_VAR, build_peer is fixed
with an unref in the appropriate place.
ASTERISK-26184 #close
Change-Id: I728b424648ad041409f7d90880f4c28b3ce2ca12
2016-07-09 14:32:27 -04:00
..
2015-04-08 18:14:00 +00:00
2014-12-17 09:54:00 +00:00
2015-07-04 07:29:53 -05:00
2016-03-29 14:35:17 -05:00
2016-03-16 14:53:00 -05:00
2015-11-09 17:02:52 +01:00
2014-07-25 16:47:17 +00:00
2015-11-09 17:02:52 +01:00
2016-02-01 18:20:05 -07:00
2015-03-06 20:18:08 +00:00
2015-12-01 13:53:18 -06:00
2015-11-09 17:02:52 +01:00
2016-02-05 11:58:26 -06:00
2016-02-01 18:20:05 -07:00
2016-06-10 17:24:00 -05:00
2015-11-09 17:02:52 +01:00
2015-11-09 17:02:52 +01:00
2015-11-09 17:02:52 +01:00
2008-05-28 20:00:21 +00:00
2016-06-30 12:09:10 -05:00
2016-06-10 17:24:00 -05:00
2016-07-09 14:32:27 -04:00
2015-12-01 13:53:18 -06:00
2016-06-28 13:56:38 -05:00
2015-11-09 17:02:52 +01:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2008-06-30 15:45:15 +00:00
2015-07-04 07:29:53 -05:00
2016-02-05 11:58:26 -06:00
2016-02-01 18:20:05 -07:00
2015-03-06 20:18:08 +00:00
2015-10-24 12:50:40 -06:00
2015-07-17 11:01:37 -05:00
2014-06-16 18:27:51 +00:00
2014-06-16 18:27:51 +00:00
2014-12-17 09:54:00 +00:00
2012-06-15 16:20:16 +00:00