Resource Management
A resource is something that must be acquired, and later (explicitly or implicitly) released. Examples include memory, locks, sockets, thread handles, and file handles.
In a long-running program, failing to release a resource may degrade performance or even crash. Worse still, one may introduce security bugs, e.g. use-after-free.