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:
495c67f
)
Fix missing session list unlock
author
David Goulet
<david.goulet@polymtl.ca>
Mon, 1 Aug 2011 17:37:49 +0000
(13:37 -0400)
committer
David Goulet
<david.goulet@polymtl.ca>
Mon, 1 Aug 2011 17:37:49 +0000
(13:37 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c
patch
|
blob
|
blame
|
history
diff --git
a/ltt-sessiond/main.c
b/ltt-sessiond/main.c
index 3195e3c191160351fbade811d482cfaa6a7603c1..e069c1316cd6607308a5bc89f0a508fc38ae2121 100644
(file)
--- a/
ltt-sessiond/main.c
+++ b/
ltt-sessiond/main.c
@@
-1936,12
+1936,14
@@
static int process_client_msg(struct command_ctx *cmd_ctx)
if (session_list_ptr->count == 0) {
ret = LTTCOMM_NO_SESSION;
+ unlock_session_list();
goto error;
}
ret = setup_lttng_msg(cmd_ctx, sizeof(struct lttng_session) *
session_list_ptr->count);
if (ret < 0) {
+ unlock_session_list();
goto setup_error;
}
This page took
0.026486 seconds
and
4
git commands to generate.