projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Free variable before strdup() in process_event_node
[lttng-tools.git]
/
src
/
common
/
config
/
config.c
diff --git
a/src/common/config/config.c
b/src/common/config/config.c
index a4d4f04f5230afc071048cb6e63ec23c4e488f6b..0253d58d3d9bedb55c7299ae0aa4eb57a8b7e6e2 100644
(file)
--- a/
src/common/config/config.c
+++ b/
src/common/config/config.c
@@
-1560,6
+1560,7
@@
int process_event_node(xmlNodePtr event_node, struct lttng_handle *handle,
goto end;
}
+ free(filter_expression);
filter_expression = strdup((char *) content);
free(content);
if (!filter_expression) {
This page took
0.023214 seconds
and
4
git commands to generate.