Fix: miscellaneous memory handling fixes
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.c
index 89b6402fabad3e62ff69c5e9e8b62e5c15d0d0b8..8a5cbdfcb550f86a2010586e6eed924d19232861 100644 (file)
@@ -368,7 +368,7 @@ restart:
 
                assert(msg.cmd == HEALTH_CMD_CHECK);
 
-               reply.ret_code = 0;
+               memset(&reply, 0, sizeof(reply));
                for (i = 0; i < NR_HEALTH_RELAYD_TYPES; i++) {
                        /*
                         * health_check_state return 0 if thread is in
This page took 0.022951 seconds and 4 git commands to generate.