Files
asterisk/main
Richard Mudgett 2122c205e6 Audit ast_sockaddr_resolve() usage for memory leaks.
Valgrind found some memory leaks associated with ast_sockaddr_resolve().
Most of the leaks had already been fixed by earlier memory leak hunt
patches.  This patch performs an audit of ast_sockaddr_resolve() and found
one more.

* Fix ast_sockaddr_resolve() memory leak in
apps/app_externalivr.c:app_exec().

* Made main/netsock2.c:ast_sockaddr_resolve() always set the addrs
parameter for safety so the pointer will never be uninitialized on return.
The same goes for res/res_pjsip_acl.c:extract_contact_addr().

* Made functions that call ast_sockaddr_resolve() with RAII_VAR()
controlling the addrs variable use ast_free instead of ast_free_ptr to
provide better MALLOC_DEBUG information.

Review: https://reviewboard.asterisk.org/r/4509/
........

Merged revisions 433056 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-17 21:49:30 +00:00
..
2012-06-15 16:20:16 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2013-08-20 15:36:10 +00:00
2012-06-15 16:20:16 +00:00
2015-01-30 16:47:50 +00:00
2014-10-10 13:01:41 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2013-06-29 00:18:57 +00:00
2014-09-05 17:36:35 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2015-01-30 16:47:50 +00:00
2012-04-28 01:33:49 +00:00
2015-01-30 16:47:50 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2015-01-26 14:49:32 +00:00
2015-01-26 14:49:32 +00:00
2012-09-21 17:14:59 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00
2015-01-30 16:47:50 +00:00