Free ast_str objects when temp file fails to be created in MiniVM
authorMatthew Jordan <mjordan@digium.com>
Fri, 7 Sep 2012 02:27:42 +0000 (02:27 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 7 Sep 2012 02:27:42 +0000 (02:27 +0000)
commitdbdcee80f4b7652ed45367cd96e610761b8a136d
tree21dd9f68fe5d0e1feb85f7e0390bcf2460ed9854
parent31407fc32c83704c1289267aece1e5a4ba1a566e
Free ast_str objects when temp file fails to be created in MiniVM

The previous commit (r372554) was from a patch that was written before
r366880, which ensured that ast_str objects allocated in the sendmail
routine were free'd in off nominal paths.  This commit frees the
string objects in the off nominal path introduced in r372554.

(issue ASTERISK-17133)
Reported by: Tzafrir Cohen
........

Merged revisions 372581 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 372582 from http://svn.asterisk.org/svn/asterisk/branches/10
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_minivm.c