NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50709: src/dist/pf/sbin/pfctl/pfctl_optimize.c:905: (error) Memory leak: por
>Number: 50709
>Category: bin
>Synopsis: src/dist/pf/sbin/pfctl/pfctl_optimize.c:905: (error) Memory leak: por
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 26 08:50:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160125
>Organization:
>Environment:
>Description:
Source code is
if (ioctl(pf->dev, DIOCGETRULE, &pr)) {
warn("DIOCGETRULES");
return (1);
}
but
if ((por = calloc(1, sizeof(*por))) == NULL) {
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index