[Bug 204952] usr/src/sbin/recoverdisk/recoverdisk.c:132: resource leak ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 2 08:24:39 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204952

            Bug ID: 204952
           Summary: usr/src/sbin/recoverdisk/recoverdisk.c:132: 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/sbin/recoverdisk/recoverdisk.c:132]: (error) Resource leak: file

$ fgrep file usr/src/sbin/recoverdisk/recoverdisk.c | egrep "fopen|fclose"
        file = fopen(wworklist, "w");
        fclose(file);
    file = fopen(rworklist, "r");
$

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


More information about the freebsd-bugs mailing list