commit:     8072a874eeb67f33d48f1c08c4b67cab8d0dc336
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  4 20:33:37 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan  4 20:33:37 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=8072a874

libq/tree: don't zap open dirent in tree_foreach_pkg

Bug: https://bugs.gentoo.org/968337
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 libq/tree.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libq/tree.c b/libq/tree.c
index 1d336d6..3d707ba 100644
--- a/libq/tree.c
+++ b/libq/tree.c
@@ -2277,7 +2277,6 @@ tree_foreach_pkg
        ctx->cat_de  = NULL;
        ctx->cat_cur = 0;
        ctx->cat_cnt = 0;
-       ctx->dir     = NULL;
        ctx->do_sort = false;
 
        if (postsort) {

Reply via email to