projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing free causing a memleak
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-registry.h
diff --git
a/src/bin/lttng-sessiond/ust-registry.h
b/src/bin/lttng-sessiond/ust-registry.h
index 3cd474b51abfebad76d98b6255ff6f736810ed73..a82aeb208295bb1af8b55a8d00da879dfd1e9ed1 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry.h
+++ b/
src/bin/lttng-sessiond/ust-registry.h
@@
-107,6
+107,8
@@
struct ust_registry_channel {
size_t nr_ctx_fields;
struct ustctl_field *ctx_fields;
struct lttng_ht_node_u64 node;
size_t nr_ctx_fields;
struct ustctl_field *ctx_fields;
struct lttng_ht_node_u64 node;
+ /* For delayed reclaim */
+ struct rcu_head rcu_head;
};
/*
};
/*
@@
-125,7
+127,6
@@
struct ust_registry_event {
size_t nr_fields;
struct ustctl_field *fields;
char *model_emf_uri;
size_t nr_fields;
struct ustctl_field *fields;
char *model_emf_uri;
- struct lttng_ust_object_data *obj;
/*
* Flag for this channel if the metadata was dumped once during
* registration. 0 means no, 1 yes.
/*
* Flag for this channel if the metadata was dumped once during
* registration. 0 means no, 1 yes.
This page took
0.023134 seconds
and
4
git commands to generate.