From: Mathieu Desnoyers Date: Wed, 26 Sep 2012 00:44:24 +0000 (-0400) Subject: Fix: Filter: add missing ast free X-Git-Tag: v2.1.0-rc4~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=37600d7967a38d394621847163b0f854bd7566fa;p=lttng-tools.git Fix: Filter: add missing ast free Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- diff --git a/src/lib/lttng-ctl/filter/filter-parser.y b/src/lib/lttng-ctl/filter/filter-parser.y index 3b77528a6..a72fcd04b 100644 --- a/src/lib/lttng-ctl/filter/filter-parser.y +++ b/src/lib/lttng-ctl/filter/filter-parser.y @@ -230,6 +230,7 @@ static void filter_ast_free(struct filter_ast *ast) cds_list_for_each_entry_safe(node, tmp, &ast->allocated_nodes, gc) free(node); + free(ast); } __attribute__((visibility("hidden")))