CWE-1091 · Słabość
Use of Object without Invoking Destructor Method
- Abstrakcja
- Bazowa
- Status
- Niekompletny
- Dodano
- 2 lipca 2018
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product contains a method that accesses an object but does not later invoke the element's associated finalize/destructor method.
Skutki
Other
Reduce Performance
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.
Słabość nadrzędna
Kiedy powstaje
- Implementation
Dotyczy
Object-Oriented
Źródła
- Automated Source Code Performance Efficiency Measure (ASCPEM) — Object Management Group (OMG), ASCPEM-PRF-15, 2016
Wpis z katalogu CWE 4.20.