From 28b1c293ff7d9667e23e9789bb1caf3bd06a751b Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Tue, 27 Oct 2020 18:49:48 -0700 Subject: [PATCH] Zero initialize events an size_of_events members of rcl_wait_set_t (#841) Signed-off-by: Jacob Perron --- rcl/src/rcl/wait.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rcl/src/rcl/wait.c b/rcl/src/rcl/wait.c index a23c77f7b..6c973685b 100644 --- a/rcl/src/rcl/wait.c +++ b/rcl/src/rcl/wait.c @@ -74,6 +74,8 @@ rcl_get_zero_initialized_wait_set() .size_of_services = 0, .timers = NULL, .size_of_timers = 0, + .events = NULL, + .size_of_events = 0, .impl = NULL, }; return null_wait_set;