projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: lttng: add-trigger: leak of argpar_item
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
add_trigger.c
diff --git
a/src/bin/lttng/commands/add_trigger.c
b/src/bin/lttng/commands/add_trigger.c
index 9d013122d76a812038ef369798f289b6aebaf995..2a7b29d522796c88419fc8b332bcb5b280b45e05 100644
(file)
--- a/
src/bin/lttng/commands/add_trigger.c
+++ b/
src/bin/lttng/commands/add_trigger.c
@@
-1114,6
+1114,7
@@
error:
lttng_action_destroy(action);
action = NULL;
free(error);
+ argpar_item_destroy(item);
end:
return action;
}
@@
-1440,6
+1441,7
@@
end:
free(data_url_arg);
free(snapshot_output);
argpar_state_destroy(state);
+ argpar_item_destroy(item);
return action;
}
This page took
0.024926 seconds
and
5
git commands to generate.