Avoid multiple free

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-12-20 23:36:22 +00:00
parent 0da13c21b4
commit 7f23f1b5de

View File

@@ -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