Use of Object without Invoking Destructor Method

Incomplete Base
Structure: Simple
Description

The product contains a method that accesses an object but does not later invoke the element's associated finalize/destructor method.

Extended Description

This issue can make the product perform more slowly by retaining memory and/or other resources longer than necessary. If the relevant code is reachable by an attacker, then this performance problem might introduce a vulnerability.

Common Consequences 1
Scope: Other

Impact: Reduce Performance

References 1
Automated Source Code Performance Efficiency Measure (ASCPEM)
Object Management Group (OMG)
01-2016
ID: REF-959