X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Ftrace-ust.c;h=3916c1f5de97c8dc46fdb650b2f91edd6d971bbe;hp=a7c853530d0ab7db9906c588d7da72c9a4e3ced5;hb=c70c0ca0e8e46b29376d77b5b4483891cb33679d;hpb=44844c295aff9928684eb5450e25b3e42997f9a7 diff --git a/lttng-sessiond/trace-ust.c b/lttng-sessiond/trace-ust.c index a7c853530..3916c1f5d 100644 --- a/lttng-sessiond/trace-ust.c +++ b/lttng-sessiond/trace-ust.c @@ -245,7 +245,7 @@ struct ltt_ust_metadata *trace_ust_create_metadata(char *path) int ret; struct ltt_ust_metadata *lum; - lum = malloc(sizeof(struct ltt_ust_metadata)); + lum = zmalloc(sizeof(struct ltt_ust_metadata)); if (lum == NULL) { perror("ust metadata malloc"); goto error;