aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-03 22:06:36 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-03 22:06:36 +0000
commit50aa36fccfa917ba4117ea540b0c6ad82a0dc801 (patch)
tree941e9327df81bc20d0f54baa7aa81cab65d2378c
parent5a99fca6841b3b3b77b3d1b1f6682b0373e62b6c (diff)
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/branches/1.4@90696 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 16fcfd8af..d7090a254 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -1254,7 +1254,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);