lttng-ctl: manage memory automatically in kernel tracer status check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 5 Dec 2023 21:06:07 +0000 (16:06 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:39:22 +0000 (10:39 -0500)
commitd93bbc2a50cd24ea2837d8710c99b71b5d1a5f11
tree312b152141049b46719fd247e760a857e8cf9135
parent07a5d4b54470787744777d4cf93eaaad8f4612cc
lttng-ctl: manage memory automatically in kernel tracer status check

Use a unique_ptr to manage the dynamically allocated payload returned by
lttng_ctl_ask_sessiond.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I685fc03c1da7ff7903503ed82636d27f98f9895e
src/lib/lttng-ctl/lttng-ctl.cpp
This page took 0.024692 seconds and 4 git commands to generate.