aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r--apps/app_speech_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 2987b48df..c464576f7 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -576,6 +576,8 @@ static int speech_background(struct ast_channel *chan, void *data)
time(&current);
if ((current-start) >= timeout) {
done = 1;
+ if (f)
+ ast_frfree(f);
break;
}
}