Change malloc to zmalloc on UST metadata creation
[lttng-tools.git] / liblttng-consumer / lttng-consumer.c
index 54338e800619a728f70ca44673c6f346a0ebecc0..c7c7b7a7e4db220f8cbb512cb976746213e24dbe 100644 (file)
@@ -305,7 +305,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(
        struct lttng_consumer_channel *channel;
        int ret;
 
-       channel = malloc(sizeof(*channel));
+       channel = zmalloc(sizeof(*channel));
        if (channel == NULL) {
                perror("malloc struct lttng_consumer_channel");
                goto end;
This page took 0.023076 seconds and 4 git commands to generate.