]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix more memory leaks
authorMatthew Jordan <mjordan@digium.com>
Fri, 18 May 2012 15:42:33 +0000 (15:42 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 18 May 2012 15:42:33 +0000 (15:42 +0000)
commit67268d9198ef14a3fbf822f46d28ac98a590ed8e
treeebfee554b7a7399a83d1ceff05e55dec28e28140
parent3bdb733c5d7ec1ba1fbc77eb62ff78c394ddf2b2
Fix more memory leaks

This patch adds to what was fixed in r366880.  Specifically, it addresses the
following:

* chan_sip:  dispose of an allocated frame in off nominal code paths in
             sip_rtp_read
* func_odbc: when disposing of an allocated resultset, ensure that any rows
             that were appended to that resultset are also disposed of
* cli:       free the created return string buffer in another off nominal code
             path

(issue ASTERISK-19665)
Reported by: Matt Jordan

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@366944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
funcs/func_odbc.c
main/cli.c