From: Richard Mudgett Date: Fri, 8 Feb 2013 17:29:40 +0000 (+0000) Subject: app_confbridge: Fix crash from receiving an AMI action after ConfBridge unloaded. X-Git-Tag: 11.4.0-rc1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a56a3d73872938ec3152b4b8cb9e8de125b8a63;p=thirdparty%2Fasterisk.git app_confbridge: Fix crash from receiving an AMI action after ConfBridge unloaded. Unloading ConfBridge caused the next AMI action received to crash Asterisk. * Add the missing unregister of AMI action ConfbridgeSetSingleVideoSrc when ConfBridge is unloaded. (closes issue ASTERISK-20994) Reported by: Jeremy Kister Patches: jira_asterisk_20994_v11.patch (license #5621) patch uploaded by rmudgett Tested by: Rusty Newton, Jeremy Kister git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@381067 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 937c03d847..4a52fa8233 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -2986,6 +2986,7 @@ static int unload_module(void) res |= ast_manager_unregister("ConfbridgeLock"); res |= ast_manager_unregister("ConfbridgeStartRecord"); res |= ast_manager_unregister("ConfbridgeStopRecord"); + res |= ast_manager_unregister("ConfbridgeSetSingleVideoSrc"); return res; }