diff options
-rw-r--r-- | apps/app_speech_utils.c | 2 |
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(¤t); if ((current-start) >= timeout) { done = 1; + if (f) + ast_frfree(f); break; } } |