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:
73db5be
)
Fix: missing mutex unlock on register consumer err
author
David Goulet
<dgoulet@efficios.com>
Tue, 21 Aug 2012 16:31:14 +0000
(12:31 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 21 Aug 2012 16:33:35 +0000
(12:33 -0400)
Reported-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index b9c2177fa4f24b9fb31a7f75c7744ebbf6ba359d..76d1857004a415701ecb166f8ace70768bc8d472 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-2033,6
+2033,7
@@
static int process_client_msg(struct command_ctx *cmd_ctx, int sock,
pthread_mutex_lock(&kconsumer_data.pid_mutex);
if (kconsumer_data.pid > 0) {
ret = LTTCOMM_KERN_CONSUMER_FAIL;
+ pthread_mutex_unlock(&kconsumer_data.pid_mutex);
goto error;
}
pthread_mutex_unlock(&kconsumer_data.pid_mutex);
This page took
0.029765 seconds
and
4
git commands to generate.