commit:     4b008dce89a519bd4e02d898efaa6fa8b60f1563
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 15:49:43 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 15:51:29 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4b008dce

qlop: fix invalid free, CID 557216

use atom_implode as callback function, not a pointer to an atom
structure

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 qlop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qlop.c b/qlop.c
index 7daae34b..c7e0bb68 100644
--- a/qlop.c
+++ b/qlop.c
@@ -521,7 +521,7 @@ static int do_emerge_log(
                                        array *vals = array_new();
 
                                        values_set(atomset, vals);
-                                       array_deepfree(vals, (array_free_cb 
*)atomw);
+                                       array_deepfree(vals, (array_free_cb 
*)atom_implode);
 
                                        clear_set(atomset);
                                        last_merge = tstart_emerge;

Reply via email to