Date: Sat, 25 Nov 2023 20:02:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275338] sbin/camcontrol/camcontrol.c getdevtree() memory leak Message-ID: <bug-275338-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275338 Bug ID: 275338 Summary: sbin/camcontrol/camcontrol.c getdevtree() memory leak Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: firk@cantconnect.ru Possible memory leak, completely harmless for now, but: sbin/camcontrol/camcontrol.c getdevtree() allocates an array: > ccb.cdm.matches =3D (struct dev_match_result *)malloc(bufsize); and I see no corresponding free(). --=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-275338-227>