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 unused argument in debug statement
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-registry.c
diff --git
a/src/bin/lttng-sessiond/ust-registry.c
b/src/bin/lttng-sessiond/ust-registry.c
index 3f4a962c1014de3913f416e25d3ae6f94db1df21..1a00e9349fb2f04c6052a5222acaf7d927fdd471 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry.c
+++ b/
src/bin/lttng-sessiond/ust-registry.c
@@
-608,7
+608,9
@@
void ust_registry_session_destroy(struct ust_registry_session *reg)
struct lttng_ht_iter iter;
struct ust_registry_channel *chan;
- assert(reg);
+ if (!reg) {
+ return;
+ }
/* On error, EBUSY can be returned if lock. Code flow error. */
ret = pthread_mutex_destroy(®->lock);
This page took
0.02534 seconds
and
4
git commands to generate.