diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 22:07:57 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 22:07:57 +0000 |
commit | 2ee1c8934584f0b74a80078c7bb5c23af1e4eaf9 (patch) | |
tree | 6a98205a1c2ec3f81ace31d995a6d664b2d21c4d /apps/app_meetme.c | |
parent | 893a67e7919f6646ce8b4d84c16e18cc2c7a47b0 (diff) |
Merged revisions 90696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(Closes issue #11383)
........
r90696 | qwell | 2007-12-03 16:06:36 -0600 (Mon, 03 Dec 2007) | 4 lines
Make sure we always close the conference fd if we have an open one.
Issue 11383, reported by markmhy, patch by eliel.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90697 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f39a48155..6341c4165 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1349,7 +1349,7 @@ static int conf_free(struct ast_conference *conf) ast_hangup(conf->lchan); if (conf->chan) ast_hangup(conf->chan); - else + if (conf->fd >= 0) close(conf->fd); ast_mutex_destroy(&conf->playlock); |