logo

167 Close unused resources


Summary

The source code must implement mechanisms to ensure the closure of any unused open resources.


Description

By closing unused resources the system ensures optimal resource utilization. Resources are finite, especially those with external dependencies (e.g., files I/O operations, network connections). Failing to release them can impact the system's ability to handle new requests, leading to performance downgrade and potential denial of service (DoS) conditions.


Supported In

Advanced: True


References


Weaknesses


Last updated

2024/01/18