NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/50579: src/usr.bin/error/filter.c:117: Resource leak



>Number:         50579
>Category:       bin
>Synopsis:       src/usr.bin/error/filter.c:117:  Resource leak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 22 19:05:00 +0000 2015
>Originator:     David Binderman
>Release:        cvs dated 20151222
>Organization:
>Environment:
>Description:
[src/usr.bin/error/filter.c:117]: (error) Resource leak: fyle

    if (freopen(filename, "r", fyle) == NULL) {
#ifdef FULLDEBUG
        fprintf(stderr, "%s: Failure to open \"%s\" for second read.\n",
            processname, filename);
#endif
        nignored = 0;
        return;
    }

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index