diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-02-06 15:51:14 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-02-06 15:51:14 +0100 |
commit | 42a04c468aff667e0dbaf69aef07c9f679176470 (patch) | |
tree | f433b80bf9a8480e30edaa12738415a3426ea121 /libq/tree.c | |
parent | .github: try to fix macOS build (diff) | |
download | portage-utils-42a04c468aff667e0dbaf69aef07c9f679176470.tar.gz portage-utils-42a04c468aff667e0dbaf69aef07c9f679176470.tar.bz2 portage-utils-42a04c468aff667e0dbaf69aef07c9f679176470.zip |
libq/tree: plug leak in tree_match_atom
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'libq/tree.c')
-rw-r--r-- | libq/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libq/tree.c b/libq/tree.c index 7285cd7d..1e0e6230 100644 --- a/libq/tree.c +++ b/libq/tree.c @@ -1778,6 +1778,7 @@ tree_match_atom(tree_ctx *ctx, const depend_atom *query, int flags) sizeof(*cat_ctx->pkg_ctxs), tree_pkg_compar); } } + xarrayfree_int(cats); } /* activate cache for future lookups, tree_match_atom relies on |