aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-16 17:53:58 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-16 17:53:58 +0000
commita42547e25e001c864e0c8076a39488b5f14fb219 (patch)
treeb49c5ee25749f4c956571cbba1b8a6866e8d0813 /apps
parent46458e45419c48fbd3c7f58c6f59806189d3f41e (diff)
Merged revisions 47748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47748 | file | 2006-11-16 12:52:48 -0500 (Thu, 16 Nov 2006) | 2 lines Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47749 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index ce91129ca..d094bb110 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -2953,6 +2953,10 @@ static int slastate(const char *data)
/* Find conference */
sla = sla2 = ASTOBJ_CONTAINER_FIND(&slas, data);
+
+ if (!sla2)
+ return AST_DEVICE_INVALID;
+
ASTOBJ_UNREF(sla2, sla_destroy);
if (option_debug)