app_mixmonitor: Fix crashes caused by unloading app_mixmonitor
authorJonathan Rose <jrose@digium.com>
Fri, 14 Jun 2013 16:32:43 +0000 (16:32 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 14 Jun 2013 16:32:43 +0000 (16:32 +0000)
commitbfdff342b416618409fc9e3d20b96a15171d957d
tree694a1688bbd2d5cf8e9f3e85e77762734404305f
parent0abc78dcfd467b89d5d81a9e471ad055bc46a298
app_mixmonitor: Fix crashes caused by unloading app_mixmonitor

Unloading app_mixmonitor while active mixmonitors were running would
cause a segfault. This patch fixes that by making it impossible to
unload app_mixmonitor while mixmonitors are active.

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

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

Merged revisions 391794 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_mixmonitor.c