X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-1.c;h=38381f894daad1662e10fad02550d9b5366ff623;hp=99aa86668048e719daa4100a09ff425de806dd3a;hb=348a81dcf7b6944b10a813d93dcaf86fdb5194f6;hpb=2abe796968937298012c0ec668f7fc88305683f2 diff --git a/src/bin/lttng-relayd/cmd-2-1.c b/src/bin/lttng-relayd/cmd-2-1.c index 99aa86668..38381f894 100644 --- a/src/bin/lttng-relayd/cmd-2-1.c +++ b/src/bin/lttng-relayd/cmd-2-1.c @@ -55,7 +55,7 @@ int cmd_recv_stream_2_1(const struct lttng_buffer_view *payload, ERR("Path name too long"); goto error; } - path_name = create_output_path(stream_info.pathname); + path_name = strdup(stream_info.pathname); if (!path_name) { PERROR("Path name allocation"); ret = -ENOMEM;