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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 70719608b..0dee92647 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -2368,10 +2368,8 @@ static int conf_free(struct ast_conference *conf)
if (conf->origframe)
ast_frfree(conf->origframe);
- if (conf->lchan)
- ast_hangup(conf->lchan);
- if (conf->chan)
- ast_hangup(conf->chan);
+ ast_hangup(conf->lchan);
+ ast_hangup(conf->chan);
if (conf->fd >= 0)
close(conf->fd);
if (conf->recordingfilename) {