Skip to content

Resource Leak #196

@ArielSAdamsNASA

Description

@ArielSAdamsNASA

Describe the bug
Variable result going out of scope leaks the storage it points to.

Expected behavior
Fix leak

Code snips

if (rp == NULL)
{
return -4;
}

System observed on:
Coverity: https://scan.coverity.com/projects/arielsadamsnasa-cfs-jsf-rules?tab=overview

Reporter Info
Ariel Adams, ASRC Federal

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions