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:
9d8efb0
)
Fix: unchecked return value in ust app delete
author
David Goulet
<dgoulet@efficios.com>
Thu, 28 Nov 2013 20:55:05 +0000
(15:55 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Thu, 28 Nov 2013 20:55:05 +0000
(15:55 -0500)
Fix coverity issue
1132897
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/ust-app.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index 73c6d6a0fbab4387668d4aad18f77b964d7c69c3..8dedb8730b8285f75cf51bf638ca2ac939d3af53 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-406,7
+406,8
@@
void delete_ust_app_channel(int sock, struct ust_app_channel *ua_chan,
if (ua_chan->obj != NULL) {
/* Remove channel from application UST object descriptor. */
iter.iter.node = &ua_chan->ust_objd_node.node;
- lttng_ht_del(app->ust_objd, &iter);
+ ret = lttng_ht_del(app->ust_objd, &iter);
+ assert(!ret);
ret = ustctl_release_object(sock, ua_chan->obj);
if (ret < 0 && ret != -EPIPE && ret != -LTTNG_UST_ERR_EXITING) {
ERR("UST app sock %d release channel obj failed with ret %d",
This page took
0.02727 seconds
and
4
git commands to generate.