#4300 new defect

rtl-shell.c: Resource leak error spotted by Coverity

Reported by: Ryan Long Owned by:
Priority: normal Milestone: Indefinite
Component: lib/dl Version: 6
Severity: normal Keywords:
Cc: Blocked By:


CID 1444140: Resource leak in rtems_rtl_shell_object().

Change History (2)

comment:1 Changed on Mar 4, 2021 at 5:07:35 PM by Ryan Long

739    if (unresolved != 0)
740    {
741      rtems_printf (printer, "warning: unresolved symbols present\n");
   CID 1444140 (#3 of 3): Resource leak (RESOURCE_LEAK)24. leaked_storage: Variable handle going out of scope leaks the storage it points to.
742      return 1;
743    }

comment:2 Changed on Dec 16, 2021 at 8:41:14 PM by Ryan Long

Milestone: 6.1Indefinite
Note: See TracTickets for help on using tickets.