#2336 closed defect (wontfix)

c/src/lib/libbsp/arm/nds/tools/ndstool/source/raster.cpp: 2 * resource leak

Reported by: David Binderman Owned by: Needs Funding
Priority: low Milestone: Indefinite
Component: unspecified Version: 4.10
Severity: minor Keywords:
Cc: Blocked By:
Blocking:

Description

1.

[rtems/c/src/lib/libbsp/arm/nds/tools/ndstool/source/raster.cpp:20]: (error) Resource leak: f

if ((bmfh.bfType[0] != 'B')
(bmfh.bfType[1] != 'M')) { fprintf(stderr, "Not a bitmap file.\n"); return -2; }

Minor bug, but looks like a missing call to fclose to me.

2.

[rtems/c/src/lib/libbsp/arm/nds/tools/ndstool/source/raster.cpp:21]: (error) Resource leak: f

Duplicate.

Change History (4)

comment:1 Changed on 04/28/15 at 14:07:51 by Gedare Bloom

This is an upstream source I don't know if we should apply local fixes or not.

comment:2 Changed on 01/26/17 at 07:16:00 by Sebastian Huber

Milestone: 4.11.14.11.2

comment:3 Changed on 02/15/17 at 13:44:44 by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: set to Needs Funding
Status: newassigned

comment:4 Changed on 04/20/21 at 18:43:23 by Joel Sherrill

Resolution: wontfix
Status: assignedclosed

BSP and tool removed.

Note: See TracTickets for help on using tickets.