summaryrefslogtreecommitdiff
path: root/main/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sched.c b/main/sched.c
index 86c01143f..8699cfbab 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -512,6 +512,7 @@ void ast_sched_report(struct sched_context *con, struct ast_str **buf, struct as
int countlist[cbnames->numassocs + 1];
size_t heap_size;
+ 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);