src.ctf.lttng-live: add bt_common_lttng_live_url_parts_deleter
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 23 Jun 2022 16:32:45 +0000 (12:32 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit81aa8979e0f384c5525b8990a5bbd120ca9d01d8
tree5bb4560a643bbf5dcbe8509f1874a70334db58c2
parente1fe0d2a78ac1dbdc996d41aa089a09b76ed0720
src.ctf.lttng-live: add bt_common_lttng_live_url_parts_deleter

bt_common_lttng_live_url_parts can't be made a C++ object that
automatically manages its memory yet, since it's used in
babeltrace2-cfg-cli-args.c (C code).  Add an RAII type in lttng-live to
automatically call bt_common_destroy_lttng_live_url_parts in two places.

Change-Id: I233a5ba5a2829f4577c4ebbcc1ab0e630d039174
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8475
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/lttng-live/lttng-live.cpp
src/plugins/ctf/lttng-live/lttng-live.hpp
src/plugins/ctf/lttng-live/viewer-connection.cpp
This page took 0.026352 seconds and 5 git commands to generate.