NetBSD-Bugs archive

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

bin/50666: src/usr.sbin/lpr/pac/pac.c:287]: (error) Memory leak: base



>Number:         50666
>Category:       bin
>Synopsis:       src/usr.sbin/lpr/pac/pac.c:287]: (error) Memory leak: base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 17 09:15:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160116
>Organization:
>Environment:
>Description:
   base = (struct hent **) calloc(sizeof hp, hcount);

   // ...

   qsort(base, hcount, sizeof hp, qucmp);

No mention of any free.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index