[RTEMS Project] #4497: libelftc_dem_gnu2.c: Resource leak spotted by Coverity

RTEMS trac trac at rtems.org
Tue Aug 17 14:57:46 UTC 2021


#4497: libelftc_dem_gnu2.c: Resource leak spotted by Coverity
------------------------+--------------------
  Reporter:  Ryan Long  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  6.1
 Component:  tool       |    Version:
  Severity:  normal     |   Keywords:
Blocked By:             |   Blocking:
------------------------+--------------------
 Upstream ticket [https://sourceforge.net/p/elftoolchain/tickets/607/]

 CID 1262520: Resource leak
 {{{
 244
    CID 1262520 (#1 of 1): Resource leak (RESOURCE_LEAK)39. leaked_storage:
 Variable arg going out of scope leaks the storage it points to.
 245        return (rtn);
 246}
 }}}

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


More information about the bugs mailing list