Skip to content
Snippets Groups Projects
Commit eb31f8b0 authored by David Vossel's avatar David Vossel
Browse files

fixes confbridge crash when no timing module is loaded.

(closes issue #16471)
Reported by: kjotte
Patches:
      M16471.diff uploaded by junky (license 177)
Tested by: kjotte, junky



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@247770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 48134df6
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,9 @@ static int softmix_bridge_create(struct ast_bridge *bridge)
/*! \brief Function called when a bridge is destroyed */
static int softmix_bridge_destroy(struct ast_bridge *bridge)
{
if (!bridge->bridge_pvt) {
return -1;
}
ast_timer_close((struct ast_timer *) bridge->bridge_pvt);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment