Fix bridging thread leak.
authorMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2012 15:31:52 +0000 (15:31 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 6 Jul 2012 15:31:52 +0000 (15:31 +0000)
commit8e7ad68b1af6dd022f2d73ce8ecc6268a9e1b140
tree8a75655bd57f0e5ccc73e90009391437d07cfc77
parent96a4b257bd10ab5aaa6f25a0716a0f521a2bf5a0
Fix bridging thread leak.

The bridge thread was exiting but was never being
reaped using pthread_join(). This has been fixed now
by calling pthread_join() in ast_bridge_destroy().

(closes issue ASTERISK-19834)
Reported by Marcus Hunger

Review: https://reviewboard.asterisk.org/r/2012
........

Merged revisions 369708 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 369709 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/bridging.c