projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: delete metadata stream before destroying it
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
utils.c
diff --git
a/src/bin/lttng-sessiond/utils.c
b/src/bin/lttng-sessiond/utils.c
index 2ff57cd1465c6071eb0d89705b061ef3dafac05f..c9c51ede5abcb2ada1ffa7253b946e1ca646467c 100644
(file)
--- a/
src/bin/lttng-sessiond/utils.c
+++ b/
src/bin/lttng-sessiond/utils.c
@@
-52,6
+52,9
@@
void ht_cleanup_push(struct lttng_ht *ht)
ssize_t ret;
int fd = ht_cleanup_pipe[1];
ssize_t ret;
int fd = ht_cleanup_pipe[1];
+ if (!ht) {
+ return;
+ }
if (fd < 0)
return;
ret = lttng_write(fd, &ht, sizeof(ht));
if (fd < 0)
return;
ret = lttng_write(fd, &ht, sizeof(ht));
This page took
0.022996 seconds
and
4
git commands to generate.