dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@247770 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
dvossel 2010-02-18 21:23:48 +00:00
parent 406ad5980e
commit 17b2ab71ca
1 changed files with 3 additions and 0 deletions

View File

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