diff options
author | Sean Bright <sean@malleable.com> | 2010-03-15 21:55:44 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2010-03-15 21:55:44 +0000 |
commit | fb7adfa6d1d9286e5f1c5fa8ab47726ac6c4fd01 (patch) | |
tree | 032af57b39c5915718c1515717f3abaef5a3ae98 /apps/app_meetme.c | |
parent | a452a076455d19fe5147f3fb3598bce89732f479 (diff) |
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/trunk@252623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 1 |
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; } |