Fix a potential timer leak in bridge_softmix.
authorJoshua Colp <jcolp@digium.com>
Fri, 27 Mar 2009 15:57:28 +0000 (15:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 27 Mar 2009 15:57:28 +0000 (15:57 +0000)
commitb101b68e2faf6a6065979d506d779c6606dec58f
tree162dc2c01686bd3de397694338022c93271c9d7e
parent9ff9df1369ec5fe665db4afe42df21d391ded3f6
Fix a potential timer leak in bridge_softmix.

It is possible for a bridge to be created without actually being used.
In that scenario a timing file descriptor would be opened and not
closed. To fix this the timing file descriptor is now closed in the
destroy callback, not the thread function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_softmix.c