diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-13 04:21:10 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-13 04:21:10 +0000 |
commit | 2b2a265d83453dc9217862c36d1a7e0af2867130 (patch) | |
tree | 88e6e235c63071238ada1a3e48c1a07f5fa1d97c /apps/app_festival.c | |
parent | 1548ac4ec448b6ee52247528bc5958346cf69302 (diff) |
Merged revisions 33781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33781 | russell | 2006-06-13 00:20:10 -0400 (Tue, 13 Jun 2006) | 3 lines
add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33782 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_festival.c')
-rw-r--r-- | apps/app_festival.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index 6a67ad580..caec727c8 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -487,6 +487,9 @@ static int festival_exec(struct ast_channel *chan, void *vdata) if ( read_data == -1 ) { ast_log(LOG_WARNING,"Unable to read from cache/festival fd"); + close(fd); + ast_config_destroy(cfg); + LOCAL_USER_REMOVE(u); return -1; } n += read_data; |