aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-15 21:55:44 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-15 21:55:44 +0000
commit44cc42f02283c72ac4c27b39122440d03abb676c (patch)
tree032af57b39c5915718c1515717f3abaef5a3ae98 /apps/app_meetme.c
parent53efc5f0dd837cbcd347f1a7708ee586865a4add (diff)
Resolve a crash in SLATrunk when the specified trunk doesn't exist.
Reported by philipp64 in #asterisk-dev. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252623 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 17fec5f0c..73be47145 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -5954,7 +5954,6 @@ static int sla_trunk_exec(struct ast_channel *chan, const char *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;
}