Fix: miscellaneous memory handling fixes
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index c3f564dce4709b3493c154cbd0a5faf1df3d62b4..f0aaf73b064f4845974876503de4e7bf7f89f2be 100644 (file)
@@ -3734,7 +3734,7 @@ restart:
 
                rcu_thread_online();
 
-               reply.ret_code = 0;
+               memset(&reply, 0, sizeof(reply));
                for (i = 0; i < NR_HEALTH_SESSIOND_TYPES; i++) {
                        /*
                         * health_check_state returns 0 if health is
This page took 0.022913 seconds and 4 git commands to generate.