projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
block all signals in listener thread
[lttng-ust.git]
/
ustd
/
ustd.c
diff --git
a/ustd/ustd.c
b/ustd/ustd.c
index ce6f7e211ea67acffa4cc45c24c6c1dc5b5ecb07..8a1f4d60c2df6397cbccdd5af6d5b54a8849023f 100644
(file)
--- a/
ustd/ustd.c
+++ b/
ustd/ustd.c
@@
-584,10
+584,10
@@
void *consumer_thread(void *arg)
consumer_loop(buf);
consumer_loop(buf);
- free((void *)args->bufname);
destroy_buffer(buf);
end:
destroy_buffer(buf);
end:
+ free((void *)args->bufname);
free(args);
return NULL;
}
free(args);
return NULL;
}
@@
-796,7
+796,6
@@
int start_ustd(int fd)
result = ustcomm_ustd_recv_message(&ustd, &recvbuf, NULL, timeout);
if(result == -1 && errno == EINTR) {
/* Caught signal */
result = ustcomm_ustd_recv_message(&ustd, &recvbuf, NULL, timeout);
if(result == -1 && errno == EINTR) {
/* Caught signal */
- printf("Caught signal\n");
}
else if(result == -1) {
ERR("error in ustcomm_ustd_recv_message");
}
else if(result == -1) {
ERR("error in ustcomm_ustd_recv_message");
This page took
0.029117 seconds
and
4
git commands to generate.