projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: extra arguments are not passed to the remove trigger command
[lttng-tools.git]
/
src
/
common
/
filter
/
filter-parser.y
diff --git
a/src/common/filter/filter-parser.y
b/src/common/filter/filter-parser.y
index 5009b22280eae285a9da717d31fdcfcea9e32fa6..74541f75610c4460e57f1c4bc598e7b64fd370e2 100644
(file)
--- a/
src/common/filter/filter-parser.y
+++ b/
src/common/filter/filter-parser.y
@@
-296,11
+296,16
@@
void filter_parser_ctx_free(struct filter_parser_ctx *parser_ctx)
{
int ret;
{
int ret;
- free_strings(&parser_ctx->allocated_strings);
- filter_ast_free(parser_ctx->ast);
ret = yylex_destroy(parser_ctx->scanner);
if (ret)
fprintf(stderr, "yylex_destroy error\n");
ret = yylex_destroy(parser_ctx->scanner);
if (ret)
fprintf(stderr, "yylex_destroy error\n");
+
+ filter_ast_free(parser_ctx->ast);
+ free_strings(&parser_ctx->allocated_strings);
+ filter_ir_free(parser_ctx);
+ free(parser_ctx->bytecode);
+ free(parser_ctx->bytecode_reloc);
+
free(parser_ctx);
}
free(parser_ctx);
}
This page took
0.024489 seconds
and
4
git commands to generate.