projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Document the locking assumptions of consumerd-relayd socket passing
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.c
diff --git
a/src/bin/lttng-sessiond/trace-kernel.c
b/src/bin/lttng-sessiond/trace-kernel.c
index 54bdc667575ec48a0b2d5ac3fadcc999148150ae..52b8cc7e0e8d4f2d4e017d746def763f599d9420 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.c
+++ b/
src/bin/lttng-sessiond/trace-kernel.c
@@
-501,7
+501,9
@@
void trace_kernel_destroy_context(struct ltt_kernel_context *ctx)
{
assert(ctx);
- cds_list_del(&ctx->list);
+ if (ctx->in_list) {
+ cds_list_del(&ctx->list);
+ }
free(ctx);
}
This page took
0.024713 seconds
and
5
git commands to generate.