projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: lttng_channel object is not reclaimed
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.cpp
diff --git
a/src/bin/lttng-sessiond/cmd.cpp
b/src/bin/lttng-sessiond/cmd.cpp
index 659e389b29df286c1d3c7dab2049ce7b5909a48d..2682629bbbbe91d2a89b6e40178fa0c6ec74bac3 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.cpp
+++ b/
src/bin/lttng-sessiond/cmd.cpp
@@
-3785,6
+3785,7
@@
enum lttng_error_code cmd_list_channels(enum lttng_domain_type domain,
ret = lttng_channel_serialize(
channel, &payload->buffer);
ret = lttng_channel_serialize(
channel, &payload->buffer);
+ lttng_channel_destroy(channel);
if (ret) {
ERR("Failed to serialize lttng_channel: channel name = '%s'",
channel->name);
if (ret) {
ERR("Failed to serialize lttng_channel: channel name = '%s'",
channel->name);
This page took
0.023974 seconds
and
4
git commands to generate.