summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_meetme.c')
-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 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);