[Bug 278476] fd and memory leak in ls

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Jan 2025 15:26:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278476

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=e6c9c463384d11a44af3e5f2cc947fb69f3a1968

commit e6c9c463384d11a44af3e5f2cc947fb69f3a1968
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-14 14:20:26 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-14 14:20:26 +0000

    ls: Release resources before returning from traverse()

    PR:             278476
    MFC after:      2 weeks
    Reported by:    valgrind

 bin/ls/ls.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.