This fixes the following vagrind report:
==12708== 4 errors in context 1 of 1:
==12708== Conditional jump or move depends on uninitialised value(s)
==12708== at 0x40E359: verify_step (tester-main.c:416)
==12708== by 0x40E5FD: verify_action (tester-main.c:540)
==12708== by 0x5083CE4: g_main_context_dispatch (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x5084047: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x5084309: g_main_loop_run (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x40D51C: tester_run (tester.c:812)
==12708== by 0x40251E: main (tester-main.c:1496)
struct step *current_data_step = queue_peek_head(data->steps);
struct bt_action_data *action_data = current_data_step->set_data;
int channel, len;
- struct step *step = g_new(struct step, 1);
+ struct step *step = g_new0(struct step, 1);
if (!*action_data->fd) {
tester_warn("Ups no action_data->fd");