projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50979bc
)
Fix: add missing ctf trace delete before destroy
author
David Goulet
<dgoulet@efficios.com>
Wed, 5 Feb 2014 21:26:43 +0000
(16:26 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 19:58:46 +0000
(14:58 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/ctf-trace.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/ctf-trace.c
b/src/bin/lttng-relayd/ctf-trace.c
index 6fe77a5b4438f5833e9eaa9bfeb3c092aaacf964..9e9a5c69eb87a1f802fd0fc75bd5ea0f2a7a0151 100644
(file)
--- a/
src/bin/lttng-relayd/ctf-trace.c
+++ b/
src/bin/lttng-relayd/ctf-trace.c
@@
-75,6
+75,7
@@
void ctf_trace_try_destroy(struct relay_session *session,
*/
if (uatomic_read(&session->viewer_refcount) == 0 &&
uatomic_read(&ctf_trace->refcount) == 0) {
+ ctf_trace_delete(session->ctf_traces_ht, ctf_trace);
ctf_trace_destroy(ctf_trace);
}
}
This page took
0.025407 seconds
and
4
git commands to generate.