projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove useless assert
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
ctf-trace.c
diff --git
a/src/bin/lttng-relayd/ctf-trace.c
b/src/bin/lttng-relayd/ctf-trace.c
index adfbac3f0b557d7c008e1590b7231eb6318e6105..137790f57784ea1a12198a32164b1fd9f268d442 100644
(file)
--- a/
src/bin/lttng-relayd/ctf-trace.c
+++ b/
src/bin/lttng-relayd/ctf-trace.c
@@
-39,7
+39,6
@@
void ctf_trace_try_destroy(struct ctf_trace *obj)
}
ret_ref = uatomic_add_return(&obj->refcount, -1);
}
ret_ref = uatomic_add_return(&obj->refcount, -1);
- assert(ret_ref >= 0);
if (ret_ref == 0) {
DBG("Freeing ctf_trace %" PRIu64, obj->id);
free(obj);
if (ret_ref == 0) {
DBG("Freeing ctf_trace %" PRIu64, obj->id);
free(obj);
This page took
0.024961 seconds
and
4
git commands to generate.