diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 1ac8ef5837..18e4972a5e 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -513,7 +513,7 @@ static int common_exec(struct ast_channel *chan, const struct ast_flags *flags, char *ptr; int num; int num_spyed_upon = 1; - struct chanspy_ds chanspy_ds; + struct chanspy_ds chanspy_ds = { 0, }; ast_mutex_init(&chanspy_ds.lock);