Fix: miscellaneous memory handling fixes
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index bbdf141b2409825ee1b900453b2914ec03d7c9d3..b87302e70bde65a50bb28356d529f78825b9bc71 100644 (file)
@@ -3668,7 +3668,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.022918 seconds and 4 git commands to generate.