Opened on 05/17/21 at 16:48:44
Closed on 06/04/21 at 17:23:26
#4421 closed defect (fixed)
DesiredSymbols.cc: Resource leak error spotted by Coverity
Reported by: | Ryan Long | Owned by: | Ryan Long <ryan.long@…> |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | tool | Version: | 6 |
Severity: | normal | Keywords: | Coverity |
Cc: | Blocked By: | ||
Blocking: |
Description
CID 1503018: Resource leak in load().
13. alloc_fn: Storage is returned from allocation function operator new. 14. noescape: Resource new Coverage::SymbolInformation is not freed or pointed-to in operator =. [show details] CID 1503018 (#2 of 2): Resource leak (RESOURCE_LEAK)15. leaked_storage: Failing to save or free storage allocated by new Coverage::SymbolInformation leaks it. 104 set[sym.name()] = *(new SymbolInformation);
Change History (2)
comment:1 Changed on 05/18/21 at 15:55:40 by Ryan Long
Keywords: | Coverity added |
---|
comment:2 Changed on 06/04/21 at 17:23:26 by Ryan Long <ryan.long@…>
Owner: | set to Ryan Long <ryan.long@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 9527f65/rtems-tools: