[asterisk-commits] branch 1.2 r33781 -
/branches/1.2/apps/app_festival.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jun 12 21:20:10 MST 2006
Author: russell
Date: Mon Jun 12 23:20:10 2006
New Revision: 33781
URL: http://svn.digium.com/view/asterisk?rev=33781&view=rev
Log:
add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list
Modified:
branches/1.2/apps/app_festival.c
Modified: branches/1.2/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_festival.c?rev=33781&r1=33780&r2=33781&view=diff
==============================================================================
--- branches/1.2/apps/app_festival.c (original)
+++ branches/1.2/apps/app_festival.c Mon Jun 12 23:20:10 2006
@@ -472,6 +472,9 @@
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;
More information about the asterisk-commits
mailing list