diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-23 20:43:05 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-23 20:43:05 +0000 |
commit | 1d5a54ceb8e851cf7340af8f9b6840e8494ef4f2 (patch) | |
tree | 42909d8308f7790b9751a5babd4172084a3ed813 /apps/app_meetme.c | |
parent | dbd91654a28ee4a0aa1fece0901fdd836a5351dc (diff) |
Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@14467 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index c66410339..9bfbc8892 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -737,6 +737,8 @@ static void conf_flush(int fd, struct ast_channel *chan) f = ast_read(chan); if (f) ast_frfree(f); + else /* channel was hung up or something else happened */ + break; } } |