[RTEMS Project] #2337: rtems/c/src/lib/libbsp/arm/nds/tools/ndstool/source/passme.cpp:107: resource leak

RTEMS trac trac at rtems.org
Tue Apr 28 09:04:31 UTC 2015


#2337: rtems/c/src/lib/libbsp/arm/nds/tools/ndstool/source/passme.cpp:107:
resource leak
---------------------+--------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  low      |  Milestone:  4.11.1
Component:  General  |    Version:  4.10
 Severity:  minor    |   Keywords:
---------------------+--------------------
 [rtems/c/src/lib/libbsp/arm/nds/tools/ndstool/source/passme.cpp:107]:
 (error) Resource leak: fVHD

     if (bError)
     {
         printf("Cannot patch.\n");
         return -1;
     }

 Minor bug, but suggest add call to fclose.

--
Ticket URL: <http://devel.rtems.org/ticket/2337>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list