projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: missing return code initialization on error
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
agent.c
diff --git
a/src/bin/lttng-sessiond/agent.c
b/src/bin/lttng-sessiond/agent.c
index b2608a186f83095b9faf20fd58a222eb4f2b0283..a4b1510f5dfe387ba567430f0037840589017529 100644
(file)
--- a/
src/bin/lttng-sessiond/agent.c
+++ b/
src/bin/lttng-sessiond/agent.c
@@
-747,6
+747,7
@@
int agent_enable_context(struct lttng_event_context *ctx,
agent_ctx = create_app_ctx(ctx);
if (!agent_ctx) {
+ ret = LTTNG_ERR_NOMEM;
goto error_unlock;
}
This page took
0.0251 seconds
and
4
git commands to generate.