various: cleanup issues found during leak hunt
authorScott Griepentrog <sgriepentrog@digium.com>
Tue, 17 Mar 2015 22:00:05 +0000 (22:00 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Tue, 17 Mar 2015 22:00:05 +0000 (22:00 +0000)
commitcb6c7eecfdf7fc93138656cb2df920e7da8d3f24
tree5b19da036ef64d9d5bb9f177317726c9ac044846
parentc41dd32b94d46812241785697b997628641e2865
various: cleanup issues found during leak hunt

In this collection of small patches to prevent
Valgrind errors are: fixes for reference leaks
in config hooks, evaluating a parameter beyond
bounds, and accessing a structure after a lock
where it could have been already free'd.

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

Merged revisions 431583 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_srtp.exports.in