Fix: miscellaneous memory handling fixes
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index b48a3c821d386fbf3cbfaceb8b01d9bbcc4f724d..07073260f3262bb3cbd2207a846e3404fcf0713c 100644 (file)
@@ -2212,6 +2212,8 @@ int lttng_ustconsumer_request_metadata(struct lttng_consumer_local_data *ctx,
        assert(channel);
        assert(channel->metadata_cache);
 
+       memset(&request, 0, sizeof(request));
+
        /* send the metadata request to sessiond */
        switch (consumer_data.type) {
        case LTTNG_CONSUMER64_UST:
This page took 0.023535 seconds and 4 git commands to generate.