[Bug 204951] usr/src/bin/sh/mknodes.c:269: 3 * resource leak ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 2 08:16:17 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204951
Bug ID: 204951
Summary: usr/src/bin/sh/mknodes.c:269: 3 * resource leak ?
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dcb314 at hotmail.com
[usr/src/bin/sh/mknodes.c:269]: (error) Resource leak: cfile
[usr/src/bin/sh/mknodes.c:269]: (error) Resource leak: hfile
[usr/src/bin/sh/mknodes.c:269]: (error) Resource leak: patfile
$ egrep "fopen|fclose" usr/src/bin/sh/mknodes.c
if ((infp = fopen(argv[1], "r")) == NULL)
if ((patfile = fopen(file, "r")) == NULL)
if ((hfile = fopen("nodes.h", "w")) == NULL)
if ((cfile = fopen("nodes.c", "w")) == NULL)
$
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list