projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: action-executor: leak of `work_item::subitems` field
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
action-executor.c
diff --git
a/src/bin/lttng-sessiond/action-executor.c
b/src/bin/lttng-sessiond/action-executor.c
index a259933521517c358bd2ab2aa9be32b53c1f8756..853146d3b8b3bb6f77c3788cecfb2fa280f0409a 100644
(file)
--- a/
src/bin/lttng-sessiond/action-executor.c
+++ b/
src/bin/lttng-sessiond/action-executor.c
@@
-730,6
+730,7
@@
static void action_work_item_destroy(struct action_work_item *work_item)
lttng_evaluation_destroy(work_item->evaluation);
notification_client_list_put(work_item->client_list);
lttng_dynamic_array_reset(work_item->subitems);
+ free(work_item->subitems);
free(work_item);
}
This page took
0.024076 seconds
and
4
git commands to generate.