runner: init tmp handler
connection and ctx will be garbage. Make sure connection is
null so tcmulib_reg_name_appeared's check fails if
tcmulib_reg_name_acquired has not yet been called.
@@ -1046,6 +1046,7 @@ int main(int argc, char **argv)
darray_foreach(tmp_r_handler, g_runner_handlers) {
struct tcmulib_handler tmp_handler;
+ memset(&tmp_handler, 0, sizeof(tmp_handler));
tmp_handler.name = (*tmp_r_handler)->name;
tmp_handler.subtype = (*tmp_r_handler)->subtype;
tmp_handler.cfg_desc = (*tmp_r_handler)->cfg_desc;
