mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@90696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user