aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-09 18:09:34 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-09 18:09:34 +0000
commitdccbdfea2d99bc27c85ebe864354c113dc9c641d (patch)
tree551a18d2c62d40feb5b5d6b94020024f0fcaf089
parent74c079eb48b4d3bb0c94d29e566e610142b700cc (diff)
Merged revisions 245729 via svnmerge from
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@245732 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_fax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_fax.c b/apps/app_fax.c
index 3d1767115..0594275ea 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -561,6 +561,7 @@ static int transmit_audio(fax_session *s)
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);
@@ -697,6 +698,7 @@ static int transmit_t38(fax_session *s)
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);