projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UST support: release session handle on destroy
[lttng-tools.git]
/
lttng-sessiond
/
ust-app.c
diff --git
a/lttng-sessiond/ust-app.c
b/lttng-sessiond/ust-app.c
index 616a7ae2f50c04ebf1365bc20d218d3ec28b256e..e8dc32733492f39d012b2a3a34fd542d14969471 100644
(file)
--- a/
lttng-sessiond/ust-app.c
+++ b/
lttng-sessiond/ust-app.c
@@
-163,6
+163,9
@@
void delete_ust_app_session(int sock, struct ust_app_session *ua_sess)
ret = hashtable_destroy(ua_sess->channels);
assert(!ret);
+ if (ua_sess->handle != -1) {
+ ustctl_release_handle(sock, ua_sess->handle);
+ }
free(ua_sess);
}
This page took
0.024085 seconds
and
4
git commands to generate.