From: Sean Bright Date: Mon, 15 Mar 2010 21:59:38 +0000 (+0000) Subject: Merged revisions 252623 via svnmerge from X-Git-Tag: 1.6.0.27-rc1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ccf24075e8482367be5c2e5b8625dc40ca2a68e;p=thirdparty%2Fasterisk.git Merged revisions 252623 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r252623 | seanbright | 2010-03-15 17:55:44 -0400 (Mon, 15 Mar 2010) | 4 lines Resolve a crash in SLATrunk when the specified trunk doesn't exist. Reported by philipp64 in #asterisk-dev. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@252624 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 8bc2f542dc..f2c2aff869 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -5241,7 +5241,6 @@ static int sla_trunk_exec(struct ast_channel *chan, void *data) if (!trunk) { ast_log(LOG_ERROR, "SLA Trunk '%s' not found!\n", args.trunk_name); pbx_builtin_setvar_helper(chan, "SLATRUNK_STATUS", "FAILURE"); - ast_atomic_fetchadd_int((int *) &trunk->ref_count, -1); sla_queue_event(SLA_EVENT_CHECK_RELOAD); return 0; }