Fix: uninitialized variable in lib_ring_buffer_channel_switch_timer_start
[lttng-ust.git] / libringbuffer / ring_buffer_frontend.c
index 3828a84b8a289ce2ee6bf4c34ba6ee27c9bd1935..45c0659bfafc8bcdb83077babd00e06068d5bf74 100644 (file)
@@ -804,6 +804,7 @@ void lib_ring_buffer_channel_switch_timer_start(struct channel *chan)
 
        lib_ring_buffer_setup_timer_thread();
 
+       memset(&sev, 0, sizeof(sev));
        sev.sigev_notify = SIGEV_SIGNAL;
        sev.sigev_signo = LTTNG_UST_RB_SIG_FLUSH;
        sev.sigev_value.sival_ptr = chan;
This page took 0.023625 seconds and 4 git commands to generate.