From 4a4e1e348dcc83a8ad00c901dd160902cc9453a2 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Thu, 17 Jun 2004 02:42:42 +0000 Subject: [PATCH] Must be inside lock when finding start git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3231 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index d877761044..57cb46f019 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -961,10 +961,11 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno, { struct ast_config *cfg; struct ast_variable *var; - struct ast_conference *cnf = confs; + struct ast_conference *cnf; /* Check first in the conference list */ ast_mutex_lock(&conflock); + cnf = confs; while (cnf) { if (!strcmp(confno, cnf->confno)) break; -- 2.47.2