lttng-ctl: implement listing of userspace probe locations
[lttng-tools.git] / src / common / userspace-probe.c
index 6776d4b780c333e3453c606584bcaa316e5d2020..106fdadf6e82990b19d2f103c5b128d131284648 100644 (file)
@@ -415,6 +415,8 @@ int lttng_userspace_probe_location_serialize(
                goto end;
        }
 
+       memset(&location_generic_comm, 0, sizeof(location_generic_comm));
+
        location_generic_comm.type = (int8_t) location->type;
        if (buffer) {
                ret = lttng_dynamic_buffer_append(buffer, &location_generic_comm,
This page took 0.022871 seconds and 4 git commands to generate.