NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50920: src/sbin/newfs_udf/newfs_udf.c:128]: (error) Memory leak: pos
>Number: 50920
>Category: bin
>Synopsis: src/sbin/newfs_udf/newfs_udf.c:128]: (error) Memory leak: pos
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 09 11:05:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160308
>Organization:
>Environment:
>Description:
Source code is
pos->sector_data = calloc(1, context.sector_size);
if (pos->sector_data == NULL)
return ENOMEM;
Suggest add missing call to free inside the if.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index