src.ctf.lttng-live: add lttng_live_session destructor
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Jul 2022 21:42:57 +0000 (17:42 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commit0da33e67f75d0ef42ba2778d42aa96bc6cd8123b
tree60e35350633b6c0f75cd500f2f3e4c423b2c638a
parent2991cc97e9cbe4cb7a9d39285e7dded694127a9e
src.ctf.lttng-live: add lttng_live_session destructor

Convert lttng_live_destroy_session to a destructor.  Add a new
lttng_livelttng_live_destroy_session function that calls delete, it's
still needed for the GPtrArray (which will be removed in a subsequent
patch).

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