diff options
Diffstat (limited to 'apps/app_festival.c')
-rwxr-xr-x | apps/app_festival.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index 82908f050..e7e0bd426 100755 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -305,6 +305,7 @@ static int festival_exec(struct ast_channel *chan, void *vdata) if (!(festivalcommand = ast_variable_retrieve(cfg, "general", "festivalcommand"))) { festivalcommand = "(tts_textasterisk \"%s\" 'file)(quit)\n"; } + ast_destroy(cfg); if (!vdata || ast_strlen_zero(vdata)) { ast_log(LOG_WARNING, "festival requires an argument (text)\n"); return -1; |