From 031b53f451e822253d2be4c9d657f28e3cc74e3b Mon Sep 17 00:00:00 2001 From: Automerge script Date: Fri, 23 Jun 2006 12:04:14 +0000 Subject: [PATCH] automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@35695 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_queue.c b/apps/app_queue.c index 1bb0420e36..e336fa2313 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3425,9 +3425,11 @@ static void reload_queues(void) } else ast_log(LOG_WARNING, "XXX Leaking a little memory :( XXX\n"); } else { + ast_mutex_lock(&q->lock); for (cur = q->members; cur; cur = cur->next) cur->status = ast_device_state(cur->interface); ql = q; + ast_mutex_unlock(&q->lock); } q = qn; } -- 2.47.2