NetBSD-Bugs archive

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

bin/50713: src/usr.sbin/sysinst/disks.c: 2 * memory leak ?



>Number:         50713
>Category:       bin
>Synopsis:       src/usr.sbin/sysinst/disks.c: 2 * memory leak ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 26 09:25:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160125
>Organization:
>Environment:
>Description:
1.

[src/usr.sbin/sysinst/disks.c:804]: (error) Memory leak: devdev

Source code is

       if (error != 0)
            return error;

2.

src/usr.sbin/sysinst/disks.c:1059]: (error) Memory leak: prog

Source code is

    if (access(prog, X_OK) != 0)
        return 0;



>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index