projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sessiond: missing goto in error handler
[lttng-tools.git]
/
src
/
common
/
tracker.c
diff --git
a/src/common/tracker.c
b/src/common/tracker.c
index 532a924b56a772b3d55d11e611028ebf7267a7fe..0f69c775b75f6d1c08e213fa547bcbbf5feb7daa 100644
(file)
--- a/
src/common/tracker.c
+++ b/
src/common/tracker.c
@@
-85,6
+85,7
@@
enum lttng_error_code process_attr_value_from_comm(
name = strdup(value_view->data);
if (!name) {
ret = LTTNG_ERR_NOMEM;
+ goto error;
}
}
@@
-173,6
+174,7
@@
enum lttng_error_code process_attr_value_from_comm(
*_value = value;
value = NULL;
+ free(name);
return LTTNG_OK;
error:
free(name);
This page took
0.0265649999999999 seconds
and
4
git commands to generate.