From: Russell Bryant Date: Tue, 13 Jun 2006 04:21:10 +0000 (+0000) Subject: Merged revisions 33781 via svnmerge from X-Git-Tag: 1.4.0-beta1~915 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85560a175c0788e59efc7923513d1e19899ae4c9;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@33782 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_festival.c b/apps/app_festival.c index 6a67ad5807..caec727c87 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;