summaryrefslogtreecommitdiff
path: root/apps/app_fax.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_fax.c')
-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 ede204437..a5afe87dd 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -559,6 +559,7 @@ static int transmit_audio(fax_session *s)
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);
@@ -698,6 +699,7 @@ static int transmit_t38(fax_session *s)
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);