]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_fax: Resolve T38 gateway frame leak.
authorCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 20:55:04 +0000 (20:55 +0000)
committerCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 20:55:04 +0000 (20:55 +0000)
commit6c96ec7379761f7b5fe3776239dcd5f0d82d9625
treeb385ae624497f74cda163474e4dace4ea19cb732
parent5ed848d582070242399168beca0e762f32a1d2b9
res_fax: Resolve T38 gateway frame leak.

When frames are translated by a fax gateway they need to be freed.  The
existing call to ast_frfree was unreachable.  This change reorganizes
fax_gateway_framehook to ensure that ast_frfree is called when needed.

ASTERISK-24457 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4115/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@426528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_fax.c