]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 245729 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 9 Feb 2010 18:09:25 +0000 (18:09 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 9 Feb 2010 18:09:25 +0000 (18:09 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245729 | tilghman | 2010-02-09 12:06:30 -0600 (Tue, 09 Feb 2010) | 8 lines

  Ensure frames are only freed once.

  (closes issue #16361)
   Reported by: vlad
   Patches:
         20100208__issue16361.diff.txt uploaded by tilghman (license 14)
   Tested by: kenny, bloodoff, misaksen
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245731 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_fax.c

index c0621f5bb8432f64afdeb8a41589855d83bc27cb..8c0b645ec87bcb69c70d9a9ef05d73313d020e03 100644 (file)
@@ -516,6 +516,7 @@ static int transmit_audio(fax_session *s)
                }
 
                ast_frfree(inf);
+               inf = NULL;
        }
 
        ast_debug(1, "Loop finished, res=%d\n", res);