Date: Sat, 20 Apr 2024 16:42:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278476] fd and memory leak in ls Message-ID: <bug-278476-227-vfbWioeQnd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278476-227@https.bugs.freebsd.org/bugzilla/> References: <bug-278476-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278476 --- Comment #3 from Paul Floyd <pjfloyd@wanadoo.fr> --- If you do want something with annotation you can do something like #include <valgrind.h> ... if (RUNNING_ON_VALGRIND) { close(fd); } That adds a Valgrind dependency. It'd be a lot easier to just close the file descriptor. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278476-227-vfbWioeQnd>