diff --git a/apps/app_meetme.c b/apps/app_meetme.c index ce91129caf..d094bb1103 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)