projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: app contexts: do not leak app context name, event field, context field
[lttng-ust.git]
/
liblttng-ust
/
lttng-context.c
diff --git
a/liblttng-ust/lttng-context.c
b/liblttng-ust/lttng-context.c
index 7e558067542877f846bc7f46dee9e5e9989318c5..0aaae755cc35b324b2a77a083306acea890010cc 100644
(file)
--- a/
liblttng-ust/lttng-context.c
+++ b/
liblttng-ust/lttng-context.c
@@
-202,7
+202,6
@@
int lttng_ust_context_append_rcu(struct lttng_ust_ctx **ctx_p,
free(new_ctx);
return ret;
}
- /* Taking ownership of f. */
new_ctx->fields[new_ctx->nr_fields - 1] = *f;
lttng_context_update(new_ctx);
lttng_ust_rcu_assign_pointer(*ctx_p, new_ctx);
This page took
0.023055 seconds
and
4
git commands to generate.