1 |
commit: 7b8a0e92eaddea4e699b0b551e2bf7ce6b8aecb1 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 25 18:19:15 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 25 18:19:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=7b8a0e92 |
7 |
|
8 |
libq/tree: properly free meta in tree_match_close |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
libq/tree.c | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/libq/tree.c b/libq/tree.c |
16 |
index eb5f324..d8d238c 100644 |
17 |
--- a/libq/tree.c |
18 |
+++ b/libq/tree.c |
19 |
@@ -1744,7 +1744,7 @@ tree_match_close(tree_match_ctx *match) |
20 |
if (match->free_atom) |
21 |
atom_implode(match->atom); |
22 |
if (match->meta != NULL) |
23 |
- free(match->meta); |
24 |
+ tree_close_meta(match->meta); |
25 |
free(match); |
26 |
} |
27 |
} |