aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sched.c b/main/sched.c
index 7210b9a1d..a267a6eaa 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -392,6 +392,7 @@ void ast_sched_report(struct sched_context *con, struct ast_str **buf, struct as
struct sched *cur;
int countlist[cbnames->numassocs + 1];
+ memset(countlist, 0, sizeof(countlist));
ast_str_set(buf, 0, " Highwater = %d\n schedcnt = %d\n", con->highwater, con->schedcnt);
ast_mutex_lock(&con->lock);