mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Avoid multiple free
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -813,9 +813,9 @@ static int conf_free(struct ast_conference *conf)
|
|||||||
ast_frfree(conf->transframe[x]);
|
ast_frfree(conf->transframe[x]);
|
||||||
if (conf->transpath[x])
|
if (conf->transpath[x])
|
||||||
ast_translator_free_path(conf->transpath[x]);
|
ast_translator_free_path(conf->transpath[x]);
|
||||||
|
}
|
||||||
if (conf->origframe)
|
if (conf->origframe)
|
||||||
ast_frfree(conf->origframe);
|
ast_frfree(conf->origframe);
|
||||||
}
|
|
||||||
if (conf->chan)
|
if (conf->chan)
|
||||||
ast_hangup(conf->chan);
|
ast_hangup(conf->chan);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user